How to delete the vowel from the given string?
letter = 'raeiou'
new_string = []
for i in letter:
    new_string.append(i)
for j in new_string:
    if j == 'a' or j == 'e' or j == 'i' or j == 'o' or j == 'u':
        new_string.remove(j)
        final = ''.join(new_string)
print('The string after removing the vowels is {}'.format(final))
expected output r but reo
 
     
     
    