Commit 9de4f310 by BellCodeEditor

save project

parent faba5b77
Showing with 8 additions and 2 deletions
def def new_input()
total = [] total = []
while True: while True:
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
unit = int(unit)
except:
print("12345")
else:
total.append(unit)
print(total) print(total)
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