+ 1
What will be the output in this challenge quiz???
set1 = {1,2,3,4,5,6} set2 = {4,5,6,7,8,9} set1.add(7) set2.add(10) print(set1^set2)
3 Answers
+ 5
I think its 1 2 3 8 9 10
+ 3
Why don't you check it out yourself? And even better, play around with it a bit so that you can understand even more about it?
+ 2
Thank you D_Stark,it is right the answer,,and Cyk thanks for advice.