欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Python学习之while

程序员文章站 2022-06-05 18:16:07
count = 0while count <= 5: print('人生苦短,我用Python!', 'count = ', count) count += 1 ......

count = 0
while count <= 5:
  print('人生苦短,我用python!', 'count = ', count)
  count += 1