Commit 14caecf2 by BellCodeEditor

auto save

parent 0611d90f
Showing with 17 additions and 2 deletions
...@@ -5,6 +5,22 @@ def new_input ...@@ -5,6 +5,22 @@ def new_input
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit = int(unit)
except:
print("rhygfgehffer")
else:
total.append(unit)
print("_"*30)
total.append(unit) total.append(unit)
print(total) print(total)
new_input() new_input()
\ No newline at end of file def sum(money:)
count = 0
for i in money:
count = count + 1
return count
price = new_input()
pay = sum(price )
print("dfergyrurhru" + str(pay) + "gyfyhydhty")
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