hoe to create a list in 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
list = [1, 2, 3, 4, 5, 6, 7]
#creating a list
create_list = ["apple", "banana", "cherry"]
print(create_list)
list = [1, 2, 3, 4, 5, 6, 7]