officalwithhighran
2021-10-21 21:07
num = 0 sum = 0 while True: if num > 1000: break if num % 2 == 0: sum = sum + num num = num + 1 print(sum)
num = 1 sum = 0 while True: if num > 100: break sum = sum + num num = num + 1 print(sum)
Python3 入门教程(新版)
154156 学习 · 1075 问题
相似问题