Commit babe32ee by BellCodeEditor

save project

parent a9385c7e
Showing with 3 additions and 3 deletions
a={} a=["白云山山泉水":2]
a=["一"]=1 a=["一"]=1
...@@ -7,9 +7,9 @@ a=["5"]=3 ...@@ -7,9 +7,9 @@ a=["5"]=3
a=["8"]=4 a=["8"]=4
a=["9"]=5 a=["9"]=5
print(a) print(a)
b=input() b=input(你买什么)
if b in a: if b in a:
print(a[b]) print(b+str(a[b])+"元")
else: else:
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