代码示例:(标识:python_ref_keyword_for_1)
python_ref_keyword_for_1.py
for x in range(1, 9):
  print(x)
运行结果: