python create a lsit 1

python create a lsit

# Create simple list
 mylist = ["apple", "banana", "cherry"] 

Here is what the above code is Doing:
1. We create a list called mylist.
2. We add three items to the list.
3. We print the list.

Similar Posts