1.

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» Correct choice is (a) set([[1,2],[3,4]])

For explanation: The argument given for the set must be an iterable.


Discussion

No Comment Found