Files
freeCodeCamp/guide/chinese/python/range-function/index.md
2018-10-16 21:32:40 +05:30

13 lines
254 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Range Method
localeTitle: 范围方法
---
# 范围功能
如果你需要迭代一系列数字内置函数range就派上用场了。它生成算术进度
#### 示例用法
`py for i in range(5): print(i)`
####输出 `0 1 2 3 4`