注意:此页面搜索的是所有试题
题目内容
(国家开放大学Python程序设计)
下面代码的输出值的个数是______个。
age = 23
start = 2
if age % 2 != 0:
start = 1
for x in range(start, age + 2, 2):
print(x)
age = 23
start = 2
if age % 2 != 0:
start = 1
for x in range(start, age + 2, 2):
print(x)
参考答案