Commit e6239832 by BellCodeEditor

save project

parent 2cd39039
Showing with 7 additions and 4 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict= {'可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10,'巧克力':6}
dict= {'可口可乐':3000000000,'旺仔牛奶':400000000000,'农夫山泉':100000000,'辣条':3000000,'巴西烤肉':20000000000000,'果冻':4000000000,'乐事':5000000000,'奥利奥':1000000000,'巧克力':6000000}
k=input("你要买什么?")
i=int(input("你需要几样"))
if k in dict:
print('叮咚~您的'+k+'需要支付'+str(dict[k])+'元~')
print('叮咚~您的'+k+'您需要多少'+'需要支付'+str(dict[k])+'元~')
a=int(input('你还要什么.'))
b=int(input('你要几样'+a))
else:
print(你妈百货暂未有你想要的物品,sorry~.)
\ No newline at end of file
print('你妈百货暂未有你想要的物品,sorry~,滚蛋.')
\ 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