Python list() Function Syntax
Syntax: list(iterable)
Parameter:
- iterable: an object that could be a sequence (string, tuples) or collection (set, dictionary) or any iterator object.
Note: If we don’t pass any parameter then the list() function will return a list with zero elements (empty list).