Answered step by step
Verified Expert Solution
Link Copied!

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 4 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 'i's' from the original string which results in a new string called the resulting string.
# Input parameters are :
# input1
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

Students also viewed these Databases questions