Oops, try again. It looks like you didn't print the correctly filtered list to the console.
When I type the range(1,10), (1,12), (1,9) the program gives out the correct results. But when I use the range(1, 11), it gives the following error message. I don't know whether it's a system issue or if I am doing something wrong.
print the result of [1, 4, 9, 16, 25, 36, 49, 64, 81, 100].
squares = [x **2 for x in range(1,11)] filter(lambda x: 30 <= x <=70, squares)Replace this line with your code.