Mega Code Archive

 
Categories / Python Tutorial / List
 

Nested list

edward = ['Edward Gumby', 42] john = ['John Smith', 50] database = [edward, john] print database