Question: write in python, must use while loop Question 2: Reorganize Filename: reorganize.py Write a function that accepts a string and returns a new string that

 write in python, must use while loop Question 2: Reorganize Filename:

write in python, must use while loop

Question 2: Reorganize Filename: reorganize.py Write a function that accepts a string and returns a new string that contains all of the vowels (including 'y') before any of the consonants. For example, if "Northeastern" is passed into your function, "oeaeNrthstrn" should be returned. Write a main() function in your file to exercise your function to show that it works correctly. Your test implementation should not rely on visual inspection to determine if the tests pass

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!