+ 1
List({Dictionaries})
I have no idea why my list goes out of order when I make my dictionary a list and print it!! Please Help Me! nums = {âaâ , âbâ , âcâ , âdâ} print (list(nums)) Prints: ['b', 'c', 'a', 'd']
3 RĂ©ponses
+ 7
it's not a dictionary...you've got a "set" ...unordered.
+ 1
A dictionary must have key:value pairs.
0
thanks dude I was so confused until i learned about sets xd