Question: Write python program for: John and his friend Alex are playing a word game. In the game, John has come up with a new system
Write python program for: John and his friend Alex are playing a word game. In the game, John has come up with a new system where there are only vowels a e o uj; he does not consider i a vowel. He decides to challenge Alex by giving him a modified string S and follows these steps to create the modified string:
He removes all the is from the original string which results in a new string called the resulting string.
# Input parameters are :
# input
Then he concatenates the resulting string with the original string.
Your task is to help Alex find and return the original string. If Alex is unable to do this then he must return "notpossible".
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
