pythonds.basic list code example
Example 1: list in python
#list is data structure
#used to store different types of data at same place
list = ['this is str', 12, 12.2, True]
Example 2: python lists
fruits = ['apple', 'banana', 'mango', 'cherry']
for fruit in fruits:
print(fruit)