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

8th Jan 2017, 10:09 AM
Arun Manoharan
Arun Manoharan - avatar
9 ответов
+ 3
eheheh...you should find the answers by yourself to win the quiz...otherwise everybody can win all of them ;-p
8th Jan 2017, 11:02 AM
mdd
mdd - avatar
+ 2
ok, that question is totally wrong... Try to guess, the author just messed it up
8th Jan 2017, 3:20 PM
Amaras A
Amaras A - avatar
+ 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!!
8th Jan 2017, 12:55 PM
Arun Manoharan
Arun Manoharan - avatar
+ 1
@amaras Exactly...so does the interpreter output the results as mentioned!
8th Jan 2017, 2:22 PM
Arun Manoharan
Arun Manoharan - avatar
+ 1
@amaras yeah probably!
8th Jan 2017, 3:27 PM
Arun Manoharan
Arun Manoharan - avatar
0
that is not difference, that is symmetric difference. Rethink your answer, it might help
8th Jan 2017, 1:52 PM
Amaras A
Amaras A - avatar
0
@michele hahahaa so you know the answer! im so jealous, you know that right! :P:P;);)
9th Jan 2017, 1:39 PM
Arun Manoharan
Arun Manoharan - avatar
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! 😀😁
12th Jan 2017, 10:44 AM
Arun Manoharan
Arun Manoharan - avatar
0
Ah! that's better 😀
14th Jan 2017, 4:17 PM
Amaras A
Amaras A - avatar