In this exercise, there is a 'garbled' message, which has two steps that need to be carried out in order to complete.
When I enter my code, it comes up with the following message "Make sure to use list slicing and a negative stride in your answer!"
I have tried two different ways (both using list slicing and a negative stride), and both result in the same message.
Any help would be much appreciated.
Attempt 1: garbled = "!XeXgXaXsXsXeXmX XtXeXrXcXeXsX XeXhXtX XmXaX XI" first =  for x in garbled: first.append(x) message = "".join(first[::-1]) #print first_reverse string = "" for y in message: if y == 'X': continue else: string += y print string Attempt 2: garbled = "!XeXgXaXsXsXeXmX XtXeXrXcXeXsX XeXhXtX XmXaX XI" message_reverse =  for x in garbled: message_reverse.append(x) message = message_reverse[::-1] #print message for x in message: if x == 'X': message.remove(x) message = "".join(message) print str(message)