2020年5月30日

while循环练习

摘要: 1、使用while循环输入1 2 3 4 5 6 8 9 10 num = 1 while num <= 10: if num == 7: print(" ") else: print(num) num = num + 1 2、求1-100的所有数的和 num = 1 he = 0 while nu 阅读全文

posted @ 2020-05-30 23:19 Yangyl_00 阅读(170) 评论(0) 推荐(0) 编辑

导航