Commit 35d318ed by BellCodeEditor

auto save

parent 992fdd23
Showing with 4 additions and 2 deletions
thing={'可口可乐':1,'百事可乐':5,'过期的薯片':10} thing={'可口可乐':1,'过期百事可乐':5,'过期的薯片':10}
k=input("您要什么") k=input("您要什么")
if k in thing: if k in thing:
print(k+str(thing[k])+"元") # print(k+str(thing[k])+"元")
j=input("要多少")
else: else:
print("滚蛋,这儿没有。再不走就杀了你") print("滚蛋,这儿没有。再不走就杀了你")
\ 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