Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started