Python list() Function

Creates a List object from the supplied object.

Syntax

Python
list(iterable = None)

Parameters

ParameterDescription
iterable Optional. The iterable containing the items to initialise the list.