Python list() Function
Creates a List object from the supplied object.
Syntax
Python
Copy Code
list(iterable = None)
Parameters
Parameter | Description |
---|---|
iterable |
Optional. The iterable containing the items to initialise the list. |
Creates a List object from the supplied object.
list(iterable = None)
Parameter | Description |
---|---|
iterable |
Optional. The iterable containing the items to initialise the list. |