In this example we will show how to make a new list using the list() constructor in Python.
Source Code
list1 = list(('p', 'y', 't', 'h', 'o', 'n'))
print(list1)
list2 = list('python')
print(list2)
Output:
['p', 'y', 't', 'h', 'o', 'n']
['p', 'y', 't', 'h', 'o', 'n']