Sort() doesn’t work for which type of data members of a list?
(a) Integer
(b) string
(c) tuple
(d) complex numbers
Answer:
The sort( ) method doesn’t work on complex number elements of a list.
So, the correct answer is (d).
Last updated at Dec. 13, 2024 by Teachoo
Answer:
The sort( ) method doesn’t work on complex number elements of a list.
So, the correct answer is (d).
MCQ Questions (1 mark each)
About the Author
Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo