My garbled message isn't garbled


#1



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

I get an error: Your message doesn't look quite right; instead of "I am the secret message!", it should be "!egassem terces eht ma I"
So I get rid of the line that reverses my message. Then I get this error: Your message doesn't look quite right; instead of "!egassem terces eht ma I", it should be "I am the secret message!"
I wish it would just make up its mind -_-


garbled = "!XeXgXaXsXsXeXmX XtXeXrXcXeXsX XeXhXtX XmXaX XI"
garbled = garbled[::-1]
message = garbled[0:len(garbled)+1:2]


#2

here:

garbled = garbled[::-1]

you update garbled, by doing so, garbled no longer contain the right garbage for exercise validation.

don't update/overwrite garbled.


#3

okay. I understand. I got the code to work!


#4