+ 2
Could someone please explain me why as the output of the code below 6 numbers are printed?
Could someone please explain me why as the output of the code below 6 numbers are printed?: set1={1,2,3,4,5,6} set2={4,5,6,7,8,9} set1.add(7) set2.add(10) print(set1^set2)
5 Respostas
+ 5
Well done, guys, thank you very much ♥️
+ 2
^ operator is used for symmetric difference.
~ swim ~ explained it well while I was typing 👍
0
De sexo