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}
k=input("what do you want to have?")
if k in dict:
print("if you want to buy"+k+"you need pay"+str(dict[k])+"yuan")
else:
print("we don't have you want")
b={"jj":90,"uu":80}
b.pop("jj")
print(b)
\ 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