Vidyalelo
Python · Q79

Python Sets MCQs: Exam

Programming · Python · question 79

Q79

What will be the output of the following Python code? s=1, 2, 3 s.update(4) s

A.
{1, 2, 3, 4}
B.
{1, 2, 4, 3}
C.
{4, 1, 2, 3}
D.
Error
Answer

Answer: Option D

Solution

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