I have these two lines:
a=[0,10,3,5,7,8]
size = 6;
{a[idx] for idx in range(0,size)}
And the output looks like:
{0, 3, 5, 7, 8, 10}
Which is sorted, I am using these to visualize all the values in a dictionary, do you know why is this happening, and if is just default configuration, do you know how to visualize all the values for a given key in a dictionary with multiple keys. e.g visualize all values for key_2 in x[key_1][key_2]