Commit 729b3459 by BellCodeEditor

save project

parent d5c3e87c
Showing with 21 additions and 10 deletions
def zxw():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
zxw()
# def zxw():
# total = []
# while True:
# unit= input("请输入:")
# if unit== 'q':
# break
# else:
# total.append(unit)
# print(total)
# zxw()
try:
zxwsb = int(input("请输入价格!!!"))
except:
print("必须要输入整数!")
else:
if zxwsb < 20:
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