摘要: 1. 使用while循环输出1 2 3 4 5 6 8 9 10 count=0 while count <10: count+=1 print(count) 2. 求1-100的所有数的和 count=0 total=0 #定义两个变量 while count <=100: total +=cou 阅读全文
posted @ 2021-11-15 21:32 小小程序员ol 阅读(1169) 评论(0) 推荐(0)