Report Bug
Qus :

What will be the output of the following Python code?

list1 = [11, 2, 23]
list2 = [11, 2, 2]
print(list1 < list2)

Qus

निम्नलिखित Python कोड का आउटपुट क्या होगा?

list1 = [11, 2, 23]
list2 = [11, 2, 2]
print(list1 < list2)


A. True
B. False
C. Error
D. None


Solution
B. False



Explanation
Elements are compared one by one.



Report Bug