Commit 26dc868a by BellCodeEditor

save project

parent cbc1245b
Showing with 3 additions and 3 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
dict= {'ak47':300,'火箭筒':4000,'坦克':2000000,'战斗机':3000000,'王续研腰子':20,'王续研蛋蛋':40'王续研':100,'屈家庆':10,'董益华':60} dict= {'ak47':300,'火箭筒':4000,'坦克':2000000,'战斗机':3000000,'王续研腰子':20,'王续研蛋蛋':40'王续研':100,'屈家庆':10,'董益华':60}
j=input("你要买什么?") j=input("你要买什么?")
if j in dict: if j in dict:
prink('ak47'str[(dict[j])]) prink('您好,'+j+str(dict[j])+'元')
else: else:
prink(缺货) prink('缺货')
\ No newline at end of file \ 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