Commit 478aad93 by BellCodeEditor

save project

parent c7dbc74d
Showing with 2 additions and 11 deletions
print("hello GTI")
\ No newline at end of file
l={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
q=input("要啥")
w=int(input("多少块"))
if q in l:
if w<l[q]:
l[q]=w
print(q+"被换为"+str(w)+"块")
else:
l[q]=w
print("加了"+q+"新商品要"+str(w)+"块")
\ 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