Commit 95fd87cd by BellCodeEditor

save project

parent fed3b146
Showing with 9 additions and 15 deletions
lll():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
def total():
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
try:
lll()
except:
print(输入整数)
else:
total.append(unit))
if unit=="q"
\ No newline at end of file
print(total)
return total
print("total[1]+total[2]")
\ 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