Vidyalelo
Python · Q19

Python Sets MCQs: Exam

Programming · Python · question 19

Q19

What will be the output of the following Python code? >>> a=5,6,7,8 >>> b=7,8,9,10 >>> len(a+b)

A.
8
B.
Error, unsupported operand '+' for sets
Answer
C.
6
D.
Nothing is displayed

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board