Commit 6f5d6290 by BellCodeEditor

auto save

parent 6cee919a
Showing with 4 additions and 2 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~ # 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict= {'可口可乐':325445,'旺仔牛奶':434545,'农夫山泉':166654,'屎':345641322526252364574576,'巴西烤肉':245654,'果冻':44646,'乐事':55645,'奥利奥':10456,'巧克力':65563} dict= {'可口可乐':325445,'旺仔牛奶':434545,'农夫山泉':166654,'屎':345641322526252364574576,'巴西烤肉':245654,'果冻':44646,'乐事':55645,'奥利奥':10456,'巧克力':65563}
j=input("他妈的~你要买什么?") j=input("他妈的~你要买什么?")
jw=input("他妈的~你要买几个?") k=input("他妈的~你要买几个?")
r=int(k)*dict[j]
if j in dict: if j in dict:
print('他妈的~你的'+j+'需要'+str(j*dict[k])+'元,请将钱撕了!') print('他妈的~你的'+j+'需要'+str(r)+'元请将钱撕了!')
else: else:
print('他妈的~~~没货。') 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