📜  0 for i in range(n) - 无论代码示例

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

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

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