Commit b3a290c2 by BellCodeEditor

save project

parent 302954ae
Showing with 14 additions and 5 deletions
'''
def superidol(): def superidol():
total=[] total=[]
while True: while True:
unit=input('?') unit=input('?')
if unit=='q': if unit=='q':
break break
else: else:
try: try:
unit=int(unit) unit=int(unit)
...@@ -12,9 +13,18 @@ def superidol(): ...@@ -12,9 +13,18 @@ def superidol():
else: else:
total.append(unit) total.append(unit)
finally: finally:
print("*"*30) print("-"*30)
return total return total
result=superidol() result=superidol()
print(result) print(result)
'''
money=[]
\ No newline at end of file p=0
def SB250(money):
b250=0
for i in money:
b250=b250+i
return b250
gui=[520,1314,666,114514,208200]
con=sum(gui)
print(con)
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