Examveda

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

A. set([[1,2],[3,4]])

B. set([1,2,2,3,4])

C. set((1,2,3,4))

D. {1,2,3,4}

Answer: Option A


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python