Commit 71f29b50 by BellCodeEditor

save project

parent 3030e4b8
Showing with 9 additions and 3 deletions
dict_hero={'a:10','b:2','c:22','d:29','e:30'}
print(dict_hero)
\ No newline at end of file
dict_hero={'a':10,'b':2,'c':22,'d':29,'e':30}
print(dict_hero)
dict_hero['c']=35
print(dict_hero)
dict_hero['f']=100
print(dict_hero)
if 'd' in dict_hero:
print(dict_hero['d'])
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