# prompt: find the vowels in given name

 # prompt: find the vowels in given name


def find_vowels(name):

  vowels = "aeiouAEIOU"

  vowel_list = []

  for letter in name:

    if letter in vowels:

      vowel_list.append(letter)

  return vowel_list


name = input("Enter a name: ")

vowels_in_name = find_vowels(name)

print("Vowels in the name:", vowels_in_name)

Comments

Popular posts from this blog

Ecommerce website

Yes, Python is an object-oriented programming (OOP) language, but it is also a multi-paradigm language

Your task is to find the missing number.