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

profiletony92591

 

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 175 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.
    • 6 years ago
    • 4
    Answer(2)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      DataTypes.docx
    • attachment
      12331.pdf

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      DataTypes.docx