Commit 3988be77 by BellCodeEditor

save project

parent a5c4c2f8
Showing with 9 additions and 1 deletions
......@@ -11,7 +11,15 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴十']=25
print(dict_hero)
a=(str(input()))
b=(str(input()))
if a in dict_hero:
print("yes")
if b>str("dict_hero[a]:"):
print('降价了')
else:
print('涨了')
else:
dict_hero[a]=b
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