python lsit item code example
Example 1: how to create a list in python
#creating a list
create_list = ["apple", "banana", "cherry"]
print(create_list)
Example 2: python lists
fruits = ['apple', 'banana', 'mango', 'cherry']
for fruit in fruits:
print(fruit)