Commit 6a3185cc by BellCodeEditor

save project

parent e2102aae
Showing with 9 additions and 1 deletions
...@@ -5,6 +5,13 @@ def new_inpot(): ...@@ -5,6 +5,13 @@ def new_inpot():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
unit=int(unit)
except:
print("sb")
else:
total.append(unit)
print("-"*30)
return total
print(total) print(total)
new_inpot() new_inpot()
\ 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