Commit 1a66401a by BellCodeEditor

save project

parent de7959cc
Showing with 7 additions and 7 deletions
...@@ -3,15 +3,15 @@ def now_input(): ...@@ -3,15 +3,15 @@ def now_input():
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
break breakscx
try: try:
unit=int(unit) prijykjce=int(price)
except: except :
print("123456789!") print("123456789!")
else: else:
tuplel.append(unit) tuplel.append(unit)
print(tuplel)
return tuplel return tuplel
a = now_input()
print(a) resuit=now_input
\ No newline at end of file print(resuit)
\ 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