how to use ' in a list in python code example
Example 1: how to make a python list
listName = [1,2,3,4]
Example 2: python lists
fruits = ['apple', 'banana', 'mango', 'cherry']
for fruit in fruits:
print(fruit)
listName = [1,2,3,4]
fruits = ['apple', 'banana', 'mango', 'cherry']
for fruit in fruits:
print(fruit)