Commit 7e80224b by BellCodeEditor

save project

parent 9dcc1657
Showing with 5 additions and 12 deletions
total = [] price=[15,18,14,25]
def new_input(): def sum(money):
try: cctv=0
unit=int(input('ghfdhgdfhgdfhjfdhjdfshjdfshgfdsdfshhgfd')) for i in price:
except: cctv=cctv+1
print()
else:
total.append(unit)
while True:
new_input()
print(total)
\ 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