Commit 57e7cce3 by BellCodeEditor

save project

parent 21620779
Showing with 10 additions and 10 deletions
def aaa(): i=2
total = [] sum=0
while True: while i<=100:
unit= input("请输入:") if i % 2 == 0 :
if unit== 'q': sum+=i
break else:
else: sum-=i
total.append(unit) i+=1
print(total) print('sum:',sum)
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment