Commit 2622b1e4 by BellCodeEditor

save project

parent 4d84eba2
Showing with 7 additions and 11 deletions
def new_input(): #
total = [] try:
while True: age =int)(input('你今年几岁?'))
unit = input("请输入:") except
if unit == 'q': print('要输入整数)
break print('结束')
else: \ No newline at end of file
total.append(unit)
print(total)
new_input()
\ 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