What will be the output of following?
Y=[2,5J,6]
Y.sort()
Qus
निम्नलिखित का आउटपुट क्या होगा?
Y=[2,5J,6] Y.sort()
A. [2,6,5J]
B. [5J,2,6]
C. Error
D. [6,5J,2]
Solution
C. ErrorExplanation
TypeError: '<' not supported between instances of 'complex' and 'int'