Oops, try again. Your syntax doesn't look quite right. Take a look at the examples in the instructional text and the Hint if you need help!


#1



https://www.codecademy.com/courses/python-beginner-en-KAgt5/3/2?curriculum_id=4f89dab3d788890003000096#


Oops, try again. Your syntax doesn't look quite right. Take a look at the examples in the instructional text and the Hint if you need help!


languages = ["HTML", "JavaScript", "Python", "Ruby"]
print filter(lambda x: x="Python", languages)


#2

Don't forget that the lambda should be using a conditional (==) rather than an assignment (=)


#3

Thanks. That worked.


#4

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