Commit 6c6c4def by BellCodeEditor

save project

parent 83b73772
Showing with 11 additions and 0 deletions
score={'奥力给':10,'伏特加':20,'小鸟':19}
n=input("请说买甚:")
k=input("请说价:")
if n in score:
if int(k)>score[n]:
score[n]=int(k)
print('来了+n','一共+k')
else:
print('没了,sorry')
else:
score[n]=int(k)
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