Vidyalelo
Python · Q43

Python Sets MCQs: Exam

Programming · Python · question 43

Q43

Which of the following is not the correct syntax for creating a set?

A.
set([[1,2],[3,4]])
Answer
B.
set([1,2,2,3,4])
C.
set((1,2,3,4))
D.
{1,2,3,4}

Answer: Option A

Solution

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