+ 1
How many of you encountered this question in Python challenge?
set1 = {1,2,3,4,5,6} set2 = {4,5,6,7,8,9} set1.add(7) set2.add(10) print(set1^set2) Right answer: {1,2,3,8,9,10} But there's only just a single space for answer!! How can someone fill in that answer in a single space? Is it just with me??
9 Answers
+ 3
eheheh...you should find the answers by yourself to win the quiz...otherwise everybody can win all of them ;-p
+ 2
ok, that question is totally wrong... Try to guess, the author just messed it up
+ 1
Hahaha Lol! I totally agreed with you about that!
But when I took that code ran it in my interpreter the results were as I mentioned! Otherwise I wouldn't make a post about it right!!
+ 1
@amaras Exactly...so does the interpreter output the results as mentioned!
+ 1
@amaras yeah probably!
0
that is not difference, that is symmetric difference. Rethink your answer, it might help
0
@michele hahahaa so you know the answer! im so jealous, you know that right! :P:P;);)
0
Apologies guys! My mistake... everytime I got that question didn't bother read it properly which clearly says "How many numbers will be printed?"!!
It had me troubled for a week though!! But finally!! Yaayyy! đđ
0
Ah! that's better đ