dict = {}
dict['Naver'] = '[https://www.naver.com/] (https://www.naver.com/)')
dict['Next'] = '[https://www.daum.net/] (https://www.daum.net/)')
dict['Google'] = '[https://www.google.com/] (https://www.google.com/)')
"Code" ("Naver")
dict
output value: {'Google':'https://www.google.com/','':https://www.daum.net/'}
I think it's a problem related to dictionary data type
What code should be included in the 'code' to get the output value?
python
a = {}
a[Naver] = 1
a['Next'] = 2
a.pop ("Naver")
print(a)
© 2024 OneMinuteCode. All rights reserved.