Commit e9290f3e by BellCodeEditor

save project

parent 7ea99758
Showing with 9 additions and 12 deletions
total = []
def new_input():
while True:
unit = input("请输入:")
if unit == 'q':
break
else:
total.append(unit)
print("现在你点的菜有",total)
print("你一共点的菜有",total)
new_input()
\ No newline at end of file
try:
s = int(input("今年几岁啦:"))
except:
print("要输入整数呦!")
else:
if s<19:
print("不要呦!")
print("ヾ( ̄▽ ̄)Bye~Bye~")
\ 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