0
Is it possible to have more than one key value of each character in dictionary data structure ?
Explain the way if possible to have more than one key value of each character in dictionary data structure .
2 Antworten
0
Yes, the values can be in a list, a tuple, or even another dictionary!
0
teams = {'Bulls':{'players':['MJ', 'Scotty P', 'Rodman'], 'avgwins':80}, 'Blazers':{'players':['Thisguy', 'Thatguy', 'Another'], 'avgwins':60}}