Commit 0a739503 by BellCodeEditor

save project

parent 85fb4e4c
Showing with 8 additions and 6 deletions
dict = {'l':10,'g':500,'d':1000}
k=input("需要什么")
dict = {'l':68,'g':72,'d':88}
k=input("姓名")
p=input("成绩")
if k in dict:
print("您要的"+k+str(dict[k])+"元")
else:
print("您要的东西暂时无货")
\ No newline at end of file
if int(p)>dict[k]:
print("刷新成功")
else:
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