Lambda Expressions


#1



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


Oops, try again. It looks like your message is "I am the secret message!" instead of "I am another secret message!"


I am another secret mesage


garbled = "IXXX aXXmX aXXXnXoXXXXXtXhXeXXXXrX sXXXXeXcXXXrXeXt mXXeXsXXXsXaXXXXXXgXeX!XX"

mesage=filter( lambda x: x !="X", garbled)
print message


#2

I think by mesage you meant message.


#3

thank you. Problem did sort out:)


#4

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