Commit 6238d000 by BellCodeEditor

save project

parent 37c7688f
Showing with 12 additions and 4 deletions
# 神奇百货中的物品已经帮你创建好啦 # 神奇百货中的物品已经帮你创建好啦
sb='可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10} sb='可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5}
input("请问有") k=input("请输入物品名")
if ("有") v=input("请")
\ No newline at end of file if k in sb:
if int(v)>sb[k]
print("涨价")
else:
print("降价")
else:
print(hyyt)
\ 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