Question: Python latest version Remove the characters in S1 = ALL UNNECESSARY LETTERS in order to read the message hidden in S2 = KALELUNENEPSCESSMARIYLLETITENRSG. Hints (1)
Python latest version
Remove the characters in S1 = "ALL UNNECESSARY LETTERS" in order to read the message hidden in S2 = "KALELUNENEPSCESSMARIYLLETITENRSG". Hints (1) Your logic should ignore any character in S1 that is not in S2; (2) your logic should resume looking for the next character in S1 at the point in S2where the previous character was found and deleted; and (3) Answer "KEEP SMILING"!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
