18.lambda expressions


#1



Hello everybody,
I tried this code but i get an error that grabled is not defined
My code:

garbled = "IXXX aXXmX aXXXnXoXXXXXtXhXeXXXXrX sXXXXeXcXXXrXeXt mXXeXsXXXsXaXXXXXXgXeX!XX"
message= filter(lambda x:x!="X",grabled)
print message

any help?


Replace this line with your code.


#2

so close, here:

message= filter(lambda x:x!="X",grabled)

you misspelled garbled


#3

As usual, really really thanks for the effort


#4