Commit 15815019 by BellCodeEditor

save project

parent 9cf22e0d
Showing with 7 additions and 0 deletions
dict = {'屎':250,'奈摔娃':74}
k=input("你要买什么?")
if k in dict:
s=int(input("买多少?"))
print('哈哈哈'+'一共需要:'+str(dict[k]*s)+'元')
else:
print("哪里来的小屁孩,G!")
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