Aug-23-2019, 09:28 AM
Hello guys, i'm new here. please go easy on me
i got a quite dummy question to ask. when i used the dictionaries data structure, i keep getting the output randomly ordered. this is the example of it:

i got a quite dummy question to ask. when i used the dictionaries data structure, i keep getting the output randomly ordered. this is the example of it:
content_ratings = {'4+': 4433, '9+': 987, '12+': 1155, '17+': 622} print(content_ratings)and the output will be:
Output:{'9+': 987, '4+': 4433, '12+': 1155, '17+': 622}
i don't know how the index are not the same with the way i write the code. it's quite confusing. thank you in advance guys