Commit 729b3459 by BellCodeEditor

save project

parent d5c3e87c
Showing with 21 additions and 10 deletions
def zxw(): # def zxw():
total = [] # total = []
while True: # while True:
unit= input("请输入:") # unit= input("请输入:")
if unit== 'q': # if unit== 'q':
break # break
else: # else:
total.append(unit) # total.append(unit)
print(total) # print(total)
zxw() # 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