面代码的输出结果是()for i in range(10):if i%2==0:continueelse:print(i, end=",")
A: 1,3,5,7,9,
B: 0,2,4,6,8,10
C: 0,2,4,6,8,
D: 2,4,6,8
A: 1,3,5,7,9,
B: 0,2,4,6,8,10
C: 0,2,4,6,8,
D: 2,4,6,8
举一反三
- 以下代码的输出结果是()for i in range(0,10,2): print(i,end="") A: 0 2 4 6 8 B: 2 4 6 8 C: 0 2 4 6 8 10 D: 2 4 6 8 10
- 下面代码的输出结果是 for i in range(10):if i%2 == 0: continueelse: print(i, end=",") A: 0,2,4,6,8, B: 1,3,5,7,9 C: 2,4,6,8, D: 1,3,5,7,9,
- 下面代码的输出结果是( )for i in range(10):if i%2:continueelse:print(i, end=",") A: 2,4,6,8, B: 0,2,4,6,8, C: 0,2,4,6,8,10, D: 1,3,5,7,9,
- 下面代码的输出结果是( )for i in range(10):if i%2:continueelse:print(i, end=",") A: 2,4,6,8, B: 0,2,4,6,8, C: 0,2,4,6,8,10, D: 1,3,5,7,9,
- 以下程序的输出结果是___________。for i in range(1,11): print(i, end = " ") A: 1 2 3 4 5 6 7 8 9 B: 1 2 3 4 5 6 7 8 9 10 C: 1 2 3 4 5 D: 1 3 5 7 9