Find the movies created before 2000 in the list

I am trying to create a list of movies created before 2000 in from the list ‘movies’ . I have tried all 4 of the methods on the image below but none of them seem to work. Does anybody know what is wrong with my code?

One of the tuples in your array only has one item (technically, that’s not even a tuple as it doesn’t have any commas).

# It should be:
('It\'s a Wonderful life', 1946)
# Instead of:
('It\'s a Wonderful life, 1946')

For method 3 it should be if movies[1] < 2000.

Also, in the future, please don’t post screenshots of your code. Instead, paste the code into your message inside triple backticks:

```python
code goes here
```
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.