Exercise
Lists Exercise: Create and Access
In this exercise, you’ll practice creating a list and accessing its elements.
Task
Write a Python program that:
- Creates a list called
fruitswith at least 5 fruit names - Prints the entire list
- Prints the first and last item of the list
Example Output