I don't know what I'm doing wrong... I'm pretty sure I've followed the instructions.

This is my code.

```
squares = [x**2 for x in range(1, 11)]
filter(lambda x: x >= 30 and x <= 70, squares)
```

What have I done wrong????

I don't know what I'm doing wrong... I'm pretty sure I've followed the instructions.

This is my code.

```
squares = [x**2 for x in range(1, 11)]
filter(lambda x: x >= 30 and x <= 70, squares)
```

What have I done wrong????

Your code is correct, but you were supposed to `print`

the result.

`print filter(lambda x: x >= 30 and x <= 70, squares)`

```
squares = [x**2 for x in range(1, 11)]
print filter(lambda x: x in range(30,71), squares)
```

This worked for me..

```
squares = [x**2 for x in range(1,11)]
print filter(lambda x: 30 < x < 70, squares)
```