Commit 00611cc9 by BellCodeEditor

save project

parent 8945a544
Showing with 12 additions and 0 deletions
rsg={'人头':1,'肾'100,'肝':50}
a=input("身体部位名: ")
b=input("输入此价格: ")
if a in rsg:
if float(b)>=rsg[a]:
print("太跪了,我步药!")
else:
print("水果可已买了!")
else:
rsg[a]=float(b)
print(rsg)
\ 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