+ 1
What does list() mean
3 Answers
+ 9
list() converts an iterable object to list.
https://python-reference.readthedocs.io/en/latest/docs/functions/list.html
+ 3
As Hatsy Rei said it converts itrable object into list
So here is an example :
list("ayush")
Output:
["a","y","u","s","h"]
+ 3
Just to clarify, "list" is a datatype and list() is a function