7.2.9 Top Movies Jun 2026
# 1. Create a list of favorite movies movies = ["The Shawshank Redemption", "The Dark Knight", "The Godfather", "Pulp Fiction"] # 2. Print the 0th element in the list print(movies[0]) # 3. Update the 0th element to "Star Wars" movies[0] = "Star Wars" # 4. Print the 0th element again to verify the change print(movies[0]) Use code with caution. Copied to clipboard Key Concepts to Remember
To make the list dynamic, you need to ask the user what movie they think is missing. Use the input() function to capture their choice. 7.2.9 Top Movies