Uncategorized

Python lists are commonly used to store data types.Lists are a collection of information

Python lists are commonly used to store data types.
Lists are a collection of information typically called a container.
Think of a physical container that can hold all kinds of objects, not just one object of the same type. 
Python includes a built-in list type called a list. 
They can be managed by many built-in functions that help fill, iterate over, add to, and delete them. 

Respond to the following in a minimum of 225 words: 
Why is it useful to store information with different data types?
When do you choose to use a list over a dictionary?
Provide a code example that supports your comments.