代码示例:(标识:python_for_range_3)
python_for_range_3.py
for x in range(3, 50, 6):
  print(x)
运行结果: