下面代码的输出结果是 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,
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(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
- 下面代码的输出结果为( ) for i in range(1, 7): if i % 2 == 0: print(i, end=" ") A: 1 2 3 4 5 6 7 B: 1 2 3 4 5 6 C: 2 4 6 7 D: 2 4 6
- 面代码的输出结果是()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
- 下面代码的输出结果是( )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,