help me in this
You are a secret agent, and you receive an encrypted message that needs to be decoded. The code that is being used flips the message backwards and inserts non-alphabetic characters in the message to make it hard to decipher. Task: Create a program that will take the encoded message, flip it around, remove any characters that are not a letter or a space, and output the hidden message. Input Format: A string of characters that represent the encoded message. Output Format: A string of character that represent the intended secret message. Sample Input: d89%l++5r19o7W *o=l645le9H Sample Output: Hello World my code::: re = list([val for val in code if val.isalpha()]) result = "".join(re) resul = result.split( ) resu = " ".join(resul) print(resu[::-1]) i am unable to print (you are great) the spaces in between them