for i in range(100):
    if i < 50 or i > 70:
        print(i)

 注意:

range(100) 表示 0 到 99 个数字

 

相关文章:

  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2021-10-22
  • 2021-04-27
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
相关资源
相似解决方案