I have a question about lambda expressions. Just after the list slicing exercise, I wanted to use list slicing in filter. But it didn't work.
I don't know if my syntax was wrong, or if this approach is useless.
Your comments will be appreciated! Thanks
I have the error message below, looks like slicing didn't work at all
Oops, try again. It looks like your message is "IXXX aXXmX aXXXnXoXXXXXtXhXeXXXXrX sXXXXeXcXXXrXeXt mXXeXsXXXsXaXXXXXXgXeX!XX" instead of "I am another secret message!"
garbled = "IXXX aXXmX aXXXnXoXXXXXtXhXeXXXXrX sXXXXeXcXXXrXeXt mXXeXsXXXsXaXXXXXXgXeX!XX" message = filter(lambda x: x[::3],garbled) print message