Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Why the output {8, 9, 7} not {7, 8, 9} ?
2 odpowiedzi
+ 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