[tex=40.071x1.286]BdHnoUbkmhWNzgPxXiORjeY0QPT/Qjd37OASJMWwlg6Gq0RD9hLo6CY7eoeEG1fdUP9M2gWeh9oDI0mZOrqH/DAC06qJWuGT9fi5b+cS6JjYi1Utl/+EtmDs5qTv9PM5dbOcnKKgVV7Fd/VyZbhS4s+uynI0SrljSM6niY/pigXeqDVijRIvinID9FFNzaPh[/tex][tex=37.071x1.286]BVtLflUklyUQklsVt+FvwLknEf3INv1di1PIwbIIhM70GrZbaUkgHoLQId2dfDND/X+POw+kshsIn7aEU33RrbsQXGUdoHTkd6pEyT8Chlio7kilyzxw+y9yQ+ACC/skMzmtq7t/GNocGYZkewKKe5U+QjbaQWf+h4muZsF7zwue/BEuaX6xy8v4AEZQOVVe[/tex][tex=30.714x1.286]PS9BWFYvMv7R0ymrYE4vxNzySXIgPbM6ITsNwUdqn4WI+dhXb/isvG1rGmBwCoA3NTW0+OZGhu++B0daGnWMj69HFKio70MHVfV6xZWG9bpqHKzAjBwgVQJ7NylU1og5qstfnSwL/6BdwRtGrdvb/A==[/tex][img=357x185]179d4b3424e38d0.png[/img]
举一反三
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']
- set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为? A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10} C: {1, 2, 3, 4, 5, 6, 7, 8, 9} D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
- 下面是图的拓扑排序的是?(多选)[img=340x240]1802faef6ebcc2a.png[/img] A: 2 8 0 7 1 3 5 6 4 9 10 11 12 B: 2 8 7 0 6 9 11 12 10 1 3 5 4 C: 8 2 7 3 0 6 1 5 4 9 10 11 12 D: 8 2 7 0 6 9 10 11 12 1 3 5 4
- 以下程序段实现的输出是()。for(i=0;i<;=9;i++)s[i]=i;for(i=9;i>;=0;i--)printf("%2d",s[i]);[/i][/i] A: 9 7 5 3 1 B: 1 3 5 7 9 C: 9 8 7 6 5 4 3 2 1 0 D: 0 1 2 3 4 5 6 7 8 9
- 输出九九乘法表。 1 2 3 4 5 6 7 8 9 --------------------------------------------------------------------- 1*1=1 2*1=2 2*2=4 3*1=3 3*2=6 3*3=9 4*1=4 4*2=8 4*3=12 4*4=16 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 6*1=6 6*2=12 6*3=18 6*4=24 6*5=30 6*6=36 7*1=7 7*2=14 7*3=21 7*4=28 7*5=35 7*6=42 7*7=49 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 9*1=9 9*2=18 9*3=27 9*4=36 9*5=45 9*6=54 9*7=63 9*8=72 9*9=81