下面代码的输出
结果是 for
i in range(1,10,2): print(i,end=",")
A: 1,3,
B: 1,3,5,7,9,
C: 1,4,
D: 1,4,7,
结果是 for
i in range(1,10,2): print(i,end=",")
A: 1,3,
B: 1,3,5,7,9,
C: 1,4,
D: 1,4,7,
B
举一反三
- 下面代码的输出<br/>结果是 for<br/>i in range(1,10,2): print(i,end=",") A: 1,3, B: 1,3,5,7,9, C: 1,4, D: 1,4,7,
- 下面代码的输出结果是() for<br/>i in range(1,10,2):<br/>print(i,end=",") A: 1,3, B: 1,4,7, C: 1,3,5,7,9, D: 1,4,
- 下面代码的输出<br/>结果是 for<br/>i in range(1,10,2): print(i,end=",") A: 1,3, B: 1,3,5,7,9, C: 1,4, D: 1,4,7,
- 下面代码的输出结果是()<br/>for<br/>i in range(1,10,2):<br/>print(i,end=",") A: 1,3, B: 1,4,7, C: 1,3,5,7,9, D: 1,4,
- 下面代码的输出结果是()。 for<br/>i in range(1,10,2): print(i,end=",") A: 1,3,5,7,9, B: 1,4,7, C: 1,4, D: 1,3,
内容
- 0
下面代码的输出结果是()。 for<br/>i in range(1,10,2): print(i,end=",") A: 1,3,5,7,9, B: 1,4,7, C: 1,4, D: 1,3,
- 1
以下程序的输出结果是___________。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
- 2
下面代码的输出结果是for i in range(1,10,2): print(i,end=",") A: 1,4,7, B: 1,3,5,7,9, C: 1,4, D: 1,3,
- 3
下面代码的输出结果为( ) 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
- 4
下面代码的执行<br/>结果是for i in range(1,10,2): if i % 5 == 0: print("Python") breakelse: print(i) A: Python B: 1 3 5 7 9 C: 1 D: 5