When You Need Ordered Container Of Things, Which Will Be Manipulated, Use Lists.
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.
2009-2016 downloadmela.com. All rights reserved.