Commit 49d7b2b3 by BellCodeEditor

auto save

parent 051eaaf3
Showing with 7 additions and 11 deletions
try:
age=int(input("你今年几岁"))
except:
print("'”“”“"')
\ No newline at end of file
...@@ -7,18 +7,9 @@ def new_input(): ...@@ -7,18 +7,9 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
new_input() new_input()
def new_input():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
new_input()
......
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