Commit 3800c728 by BellCodeEditor

auto save

parent 6e720121
Showing with 12 additions and 6 deletions
total = [] def new_inpout():
while True: h=0
unit= input("请输入:") total = []
if unit== 'q': while True:
unit= input("请输入(p退出):")
if unit== 'p':
break break
else: else:
total.append(unit) total.append(unit)
print(total) for i in total:
\ No newline at end of file h+=int(i)
print(total)
print(h)
new_inpout()
\ 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