create lists from list python code example
Example 1: how to create a list in python
#creating a list
create_list = ["apple", "banana", "cherry"]
print(create_list)
Example 2: how to make a list in python
list1 = ['physics', 'chemistry', 1997, 2000];
list2 = [1, 2, 3, 4, 5 ];
list3 = ["a", "b", "c", "d"];