ExampleEdit & Run
#Use the list function

#create an empty list
print(list())

#Cast an iterable to a list
print(list("Hello, World!"))
Output:
[]['H', 'e', 'l', 'l', 'o', ',', ' ', 'W', 'o', 'r', 'l', 'd', '!'][Finished in 0.010773696005344391s]

The list() function is a constructor function for list data type. It is used to create a list from an iterable object, such as a string, tuple, range, etc. It is also called without any argument as an alternative to empty brackets  to create an empty list.

list(iterable= None)
iterable An iterable object such as a tuple, string, dictionary, etc to be casted into a list.
Parameters:

If the function is called without any argument, it simply returns an empty list. When the iterable argument is given, it returns a list containing  the elements of the iterable.

ExampleEdit & Run
L = list()

print(L)
Output:
[][Finished in 0.009571431903168559s]

 In the following section we create non-empty lists using the list() function.

ExampleEdit & Run
L = list(['Kenya', 'Japan', 'France']) #list to list, returns a replica list
print(L)

L = list((1, 2, 3)) #tuple to list
print(L)

L = list({'Python', 'Java', 'PHP', 'Javascript'}) #set to list
print(L)

L = list({1 : 'one', 2: 'two', 3: 'Three'}) #dictionary to list(only keys are considered)
print(L)

L = list(range(5, 15)) #range to list
print(L)

L = list(map(lambda x:x+1, [10, 20, 30, 40]))#map object to list
print(L)
Output:
['Kenya', 'Japan', 'France'][1, 2, 3]['Python', 'Javascript', 'Java', 'PHP'][1, 2, 3][5, 6, 7, 8, 9, 10, 11, 12, 13, 14][11, 21, 31, 41][Finished in 0.01010043895803392s]