Commit 5c8be947 by BellCodeEditor

save project

parent 3b1d50a8
Showing with 7 additions and 4 deletions
d={"数学":94,"语文":92,"英语":84}
for i in d.keys():
print(i)
\ No newline at end of file
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~ # 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict={'可口可乐':10000000000000,'旺仔牛奶':11000000000,'农夫山泉':8000000,'辣条':12000000,'巴西烤肉':2000000000,'果冻':400000000,'乐事':500000000,'奥利奥':100000000,'巧克力':600000000,"饼干":700000000} dict={'可口可乐':100000000,'旺仔牛奶':11000000000,'农夫山泉':8000000,'辣条':12000000,'巴西烤肉':200000000000,'果冻':400000000,'乐事':500000000,'奥利奥':100000000,'巧克力':600000000,"饼干":700000000}
j=input("你要买什么?") j=input("你要买什么?")
if j in dict: if j in dict:
print("给我"+str(dict[j])+"元"+"不给毙了你") print("给我"+str(dict[j])+"元"+"不给毙了你")
else: else:
print("这没有,爱买不买,哪凉快哪待着去" print("这没有,爱买不买,哪凉快哪待着")
#来试试吧 \ No newline at end of file
\ 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