+ 1

Code Coach Practise

I tried this code coach and I can't seem to figure out what I'm doing wrong, all tests are right other than the third one. 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 https://code.sololearn.com/clWIL9aTM38p/?ref=app

9th Feb 2022, 7:51 AM
Jalaj Madaan
Jalaj Madaan - avatar
12 Answers
+ 5
All tests pass, but the input example fails šŸ¤£ Where did you put d? šŸ˜ƒ
9th Feb 2022, 8:03 AM
Solo
Solo - avatar
+ 3
In addition to the above, I try to minimalize your code https://code.sololearn.com/cld95Wqw49l0/?ref=app
9th Feb 2022, 8:50 AM
US Department Of State
US Department Of State - avatar
+ 1
ahahaha.... Thank you so much everyone! Oh and US Department Of State I liek your code a lot
9th Feb 2022, 3:27 PM
Jalaj Madaan
Jalaj Madaan - avatar
+ 1
Solo shush, let's talk in the basement, you saw nothing, alright?
9th Feb 2022, 3:28 PM
Jalaj Madaan
Jalaj Madaan - avatar
+ 1
Jalaj Madaan šŸ˜³šŸ˜¶šŸ™ˆšŸ™‰šŸ™Š I have a weak heart, I'm afraid to fail. šŸ¤£šŸ¤£šŸ¤£
9th Feb 2022, 4:57 PM
Solo
Solo - avatar
0
you missed a "d" in the below statement ā¬‡ if i in "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" or i == " ":
9th Feb 2022, 8:22 AM
Shaurya Kushwaha
9th Feb 2022, 3:28 PM
Jalaj Madaan
Jalaj Madaan - avatar
0
Jalaj Madaan Merci. Such things can be confusing)
9th Feb 2022, 4:17 PM
US Department Of State
US Department Of State - avatar
0
Solo Dont you worry, there's nothing in the basement. *screaming noices in the basement*
10th Feb 2022, 6:49 AM
Jalaj Madaan
Jalaj Madaan - avatar
0
US Department Of State I see you speak French, I don't know French much, I only know the basics of the basics haha i started recently.
10th Feb 2022, 6:49 AM
Jalaj Madaan
Jalaj Madaan - avatar
0
Jalaj Madaan I speak English and Russian only, but French is meant to be the most beatiful language, so good luck
10th Feb 2022, 9:14 PM
US Department Of State
US Department Of State - avatar
0
Thanks for the good luck
11th Feb 2022, 4:18 AM
Jalaj Madaan
Jalaj Madaan - avatar