Vidyalelo
Python · Q80

Python Sets MCQs: Exam

Programming · Python · question 80

Q80

What will be the output of the following Python code? >>> a=1,2,3 >>> b=a.add(4) >>> b

A.
0
B.
{1,2,3,4}
C.
{1,2,3}
D.
Nothing is printed
Answer

Answer: Option D

Solution

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