Compare the nested list objects : Compare List « List « Python Tutorial






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