+ 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)

4th Apr 2018, 3:51 PM
HBhZ_C
HBhZ_C - avatar
3 Answers
+ 5
I think its 1 2 3 8 9 10
4th Apr 2018, 3:59 PM
D_Stark
D_Stark - avatar
+ 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?
4th Apr 2018, 4:02 PM
cyk
cyk - avatar
+ 2
Thank you D_Stark,it is right the answer,,and Cyk thanks for advice.
4th Apr 2018, 4:12 PM
HBhZ_C
HBhZ_C - avatar