can someone explain to me how the print command in python orders a set? I know that the order of a set is random, but why do I get a different output if I call the set by its name or by the print command? For example:
test = {1,32,0,5,84,9}
test
has the output {0, 1, 5, 9, 32, 84}
but
print(test)
has the output {32, 1, 0, 5, 9, 84}
Thank you for your answers!