Commit fe11ef1e by BellCodeEditor

save project

parent 9b4bdad2
Showing with 7 additions and 2 deletions
dict={'':5,'':10,'':6}
\ No newline at end of file
dict={'牛肚':5,'牛肉':6,'牛蹄':7,'牛筋':8,'牛腿':9}
k=input('你想买什么:')
if k in dict:
print(k+'的价格'+str(dict[k])+'元')
else:
print(k+'没货')
\ 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