Commit 57e7cce3 by BellCodeEditor

save project

parent 21620779
Showing with 9 additions and 9 deletions
def aaa():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
i=2
sum=0
while i<=100:
if i % 2 == 0 :
sum+=i
else:
total.append(unit)
print(total)
\ No newline at end of file
sum-=i
i+=1
print('sum:',sum)
\ 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