Commit a657b902 by BellCodeEditor

save project

parent 4bc31a5f
Showing with 8 additions and 8 deletions
# 这是悟空为花果山小猴做臂力测试的程序代码 dict={"笔记本":0.00000000000000000000000000000001,"JAVA版MC":0.0000000000000000000000001,"哈利波特":0.001,'魔法棒~':300000000000,'魔方~':30,'高达~':10000}
# name=input('你叫啥名啊?') k=input('嗨害嗨!你买点啥?')
# power=int(input('你臂力多少啊?')) if k in dict:
dict_hero={'小猴':1,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} print('你买的'+k+'得花'+str(dict[k])+'大洋')
dict_hero['猴七'] = 32 else:
dict_hero['猴十']=25 print('你好,没有货了,请下次不要再来了')
print(dict_hero)
\ 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