Answers for "check if char is vowel python"

0

python3 vowels and consonants filter

def eliminate_consonants(x):
        vowels= ['a','e','i','o','u']
        for char in x:
            if char in vowels:
                print(char,end = "")

eliminate_consonants('mississippi')
Posted by: Guest on November-04-2020
-1

is vowel python

vowels = {'a','e','i','o','u'}

my_string = "This is my awesome stupendous string!"

for c in my_string:
  if c in vowels:
    print(c)
Posted by: Guest on July-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language