Commit a01d61b3 by BellCodeEditor

save project

parent b9d6ae18
Showing with 7 additions and 4 deletions
dict_hero={'猴三':10,'猴三':21,'猴五':22}
dict_hero['猴十']=25
print(dict_hero)
\ No newline at end of file
dict={'果冻':4,'乐事':5,'奥利奥':10}
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