human
Program to duplicate Vowels in String | Function to check for the Vowel.
Function to get the resultant String with vowels duplicated.
Another to store the resultant String.
Loop to check for each character.
Driver Code.
Print the original String.
Print the resultant String"
Solution in Python:

Give me a code to program to duplicate Vowels in String and the other steps required?
assistant
#Here is code to program to duplicate Vowels in String and the other steps required.
 def isVowel ( ch ) :
	ch = ch . upper ( )
	if ( ch == ' A ' or ch == ' E ' or ch == ' I ' or ch == ' O ' or ch == ' U ' ) :
		return True
	else :
		return False
def duplicateVowels ( S ) :
	t = len ( S )
	res = " "
	for i in range ( t ) :
		if ( isVowel ( S [ i ] ) ) :
			res += S [ i ]
		res += S [ i ]
	return res
S = " helloworld "
print ( " Original ▁ String : ▁ " , S )
res = duplicateVowels ( S )
print ( " String ▁ with ▁ Vowels ▁ duplicated : ▁ " , res )