Vidyalelo
Python · Q15

Python Sets MCQs: Exam

Programming · Python · question 15

Q15

What will be the output of the following Python code snippet? a=[1, 4, 3, 5, 2] b=[3, 1, 5, 2, 4] a==b set(a)==set(b)

A.
True
False
B.
False
False
C.
False
True
Answer
D.
True
True

Answer: Option C

Solution

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