Commit e0ac96a9 by BellCodeEditor

save project

parent 443b11ed
Showing with 5 additions and 23 deletions
def store(): print("hello world")
total = [] \ No newline at end of file
while True:
money = input("请输入(q退出):")
if money == 'q'
break
else:
try:
money = int(money)
except:
print("重新输入")
else:
total.append(money)
print("滚"*30)
return total
return = store()
print(result)
import func
import func
a=func.store()
b=func.sum(a) \ No newline at end of file
print("你的分数是"+str(b))
\ 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