#死循环:表达式永远为真的循环

while 2:
print("sunck is a good man")
while True:
print("sunck is a good man")

#不执行非循环 False
while False:
    print("sunck is a good man")

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2021-05-26
  • 2021-11-08
  • 2021-12-15
  • 2021-05-16
  • 2021-08-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-08-02
  • 2021-12-13
  • 2021-09-16
相关资源
相似解决方案