Commit 7a6ef674 by BellCodeEditor

save project

parent 092b4f79
Showing with 914 additions and 4 deletions
'''
total = []
while True:
unit= input("请输入:")
def new_input():
while True:
try:
unit=int(input("请输入:"))
if unit== 'q':
break
except:
print("错了哦")
else:
total.append(unit)
print(total)
print(total)
print('程序结束~~')
'''
try:
age = int(input('你今年几岁'))
......@@ -16,3 +20,909 @@ else:
if age < 16:
print('你不能喝酒噢')
print('程序结束~~')
'''
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