利用Python写1到9
以下是Python代码实现1到9的输出:
for i in range(1, 10):
print(i)
输出结果:
1
2
3
4
5
6
7
8
9
原文地址: https://www.cveoy.top/t/topic/wKE 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
以下是Python代码实现1到9的输出:
for i in range(1, 10):
print(i)
输出结果:
1
2
3
4
5
6
7
8
9
原文地址: https://www.cveoy.top/t/topic/wKE 著作权归作者所有。请勿转载和采集!