Commit 052f3fbd by BellCodeEditor

save project

parent 7886bdf2
Showing with 8 additions and 3 deletions
dict_hero={'1':1,'2':2,'3':3,'4':5} dict={'1':1,'2':2,'3':3,'4':5}
dict_hero['4']=4 #dict['5']=4
print(dict_hero) #print(dict)
if '4'in dict:
print(dict['4'])
print(dict)
......
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