📜  for i in range(n-1,0,-1): - Python 代码示例

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

代码示例1
# Print first 5 numbers using range function
for i in range(5):
    print(i, end=', ')

# Output:
# 0, 1, 2, 3, 4,