+ 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 Respostas
+ 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