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).

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

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