How to reverse a word in a string having more than 2 vowels... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to reverse a word in a string having more than 2 vowels...

If my string is "abi abc" the output of the program should be "iba abc"...

5th Jan 2020, 11:56 AM
RUSHIKESH S.
RUSHIKESH S. - avatar
1 Answer
0
okay, thats kind of an odd request, but i recommend using the equivalent to the str.split() method in python, then working on the words one by one. some simple looping and result variables should get you there.
10th Feb 2021, 2:47 PM
Wilbur Jaywright
Wilbur Jaywright - avatar