A44196. 编写程序,找到并输出100以内的偶数个数。
填空题
中等
知识点
题目描述
编写程序,找到并输出100以内的偶数个数。
参考答案
c=0
for i in range(1,101):
if i%2==0:
c=c+1
print(c)
上一题
下一题