Commit f5dbe30c by BellCodeEditor

save project

parent 8887cd18
import aaa
a=aaa.aa()
b=aaa.bb(a)
print(str(b))
\ No newline at end of file
def aa(): def aa():
money=[] money=[]
count=0
while True: while True:
a=input("输") a=input("输")
if a=="q": if a=="q":
break break
else: else:
money.insert(0,int(a)) money.insert(0,int(a))
for i in money: return(money)
count=count+i
return(count) def bb(money_a):
print(str(aa())) b=0
for i in money_a:
b=b+i
return(b)
......
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