When you need ordered container of things, which will be manipulated, use lists.

Submitted by: Administrator
Dictionary is key, value pair container and hence is not ordered. Use it when you need fast access to elements, not in ordered fashion. Lists are indexed and index of the list cannot be “string” e.g. list ['myelement'] is not a valid statement in python.
Submitted by: Administrator

Read Online Python Job Interview Questions And Answers