error
File “python”, line 2
SyntaxError: lambda cannot contain assignment
languages = ["HTML", "JavaScript", "Python", "Ruby"]
print filter(lambda x: x = "Python", languages)
Instructions
Fill in the first part of the filter function with a lambda. The lambda should ensure that only “Python” is returned by the filter.
Fill in the second part of the filter function with languages, the list to filter.