Home
Python Tutorial
Introduction
Data Type
Statement
Operator
String
Tuple
List
Dictionary
Collections
Function
Class
File
Buildin Function
Buildin Module
Database
Regular Expressions
Thread
Tkinker
wxPython
XML
Network
CGI Web
Windows
Compare the nested list objects : Compare List « List « Python Tutorial
Python Tutorial
List
Compare List
print [2, [1, 4]] < [2, [1, 5]]
7.4.Compare List
7.4.1.
Compare the nested list objects
7.4.2.
Compare two lists
7.4.3.
Use cmp() to compare lists