Commit 7131a240 by BellCodeEditor

save project

parent 2d5f8129
Showing with 15 additions and 6 deletions
dict={"bb":90,"kk":89,"oo":79,"uu":87}
k=input("name")
v=input("grad")
if k in dict:
if dict[k]<int(v):
dict[k]=int(v)
else:
print("ejksito")
else:
dict[k]=int(v)
print(k+"diyicichengjiyichangcuan")
dict={"刘":100,"唐":999999999999999,"罗":10,"布丁":2000,"杨杨":500} b={"jj":90,"uu":80}
k=input("what do you want to have?") b.pop("jj")
if k in dict: print(b)
print("if you want to buy"+k+"you need pay"+str(dict[k])+"yuan") \ No newline at end of file
else:
print("we don't have you want")
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