So. In the 17.17 lesson told us to slice. Ok. Is't [::-1] a backward slicing? What do I miss?
Here is my code:
garbled = "!XeXgXaXsXsXeXmX XtXeXrXcXeXsX XeXhXtX XmXaX XI" message = "".join(list(filter(lambda x: x != "X", garbled))[::-1]) print message
The output of code:
I am the secret message!
And server says me:
Oops, try again. Make sure to use list slicing and a negative stride in your answer!
But I'm already use the negative stride! Or am I wrong?