代码示例:(标识:python_for_range_1)
python_for_range_1.py
for x in range(10):
  print(x)
运行结果: