📜  以 10 为间隔的 python 范围 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.344000             🧑  作者: Mango

代码示例1
print("using start, stop, and step arguments in Python range() function")
print("Printing All odd numbers between 1 and 10 using range()")
for i in range(1, 10, 2):
    print(i, end=', ')