1 #1.使用while循环输入1 2 3 4 5 6 ... 8 9 10 2 count = 0 3 while count < 10: 4 count += 1 # count = count + 1 5 if count == 7: 6 print(" ") 7 else: 8 print(count)
1 #1.使用while循环输入1 2 3 4 5 6 ... 8 9 10 2 count = 0 3 while count < 10: 4 count += 1 # count = count + 1 5 if count == 7: 6 print(" ") 7 else: 8 print(count)