Commit 729a4700 by BellCodeEditor

save project

parent 57b0082c
Showing with 7 additions and 4 deletions
heros=["a","b","c"]
for i in heros:
print(i)
\ No newline at end of file
dict={'k':3,'w':4,'n':1,'l':3,'b':2,'g':4,'s':5,'o':10,'q':6}
k=input('你想吃啥:')
if k in dict:
print('叮咚~您的'+k+'需要支付'+str(dict[k])+'元~')
else:
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