¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Why the output {8, 9, 7} not {7, 8, 9} ?
2 Respuestas
+ 11
Sets, like dictionaries, are *unordered* collections with unique elements. When printed, the order is random and irrelevant.
0
oh get it, good explanation, thank you for your answer :D