iNTERFACEWARE Products Manual > Learning Center > Learning Python > Lists |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In Python, a list is a ordered collection of values. Here are some examples of lists and how they are used:
Lists are always enclosed in brackets ([]). Elements of a list are separated by a comma (,). A list can contain strings, numbers, or a mixture of both. Lists can even contain other lists. The following sections provide more information on how to use lists: |