human
Convert vowels into upper case character in a given string | Function to convert vowels into uppercase.
Stores the length of str.
Driver Code"
Solution in Python:
 Give me a code to convert vowels into upper case character in a given string and the other steps required?
assistant
#Here is code to convert vowels into upper case character in a given string and the other steps required.
 def conVowUpp ( str ) :
	N = len ( str )
	str1 = " "
	for i in range ( N ) :
		if ( str [ i ] == ' a ' or str [ i ] == ' e ' or str [ i ] == ' i ' or str [ i ] == ' o ' or str [ i ] == ' u ' ) :
			c = ( str [ i ] ) . upper ( )
			str1 += c
		else :
			str1 += str [ i ]
	print ( str1 )
if __name__ == ' _ _ main _ _ ' :
	str = " eutopia "
	conVowUpp ( str )