waht is a list in Python code example
Example 1: list in python
myfavouritefoods = ["Pizza", "burgers" , "chocolate"]
print(myfavouritefoods[1])
#or
print(myfavouritefoods)
Example 2: list in python
myList = ["Test", 419]
myList.append(10)
myList.append("my code")
print(myList)