Answers for "consonant or vowel in python"

5

vowel and consonant list python

vowel = ["a", "e", "i", "o", "u"]
consonant = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z"]
Posted by: Guest on August-03-2021
-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

Code answers related to "consonant or vowel in python"

Python Answers by Framework

Browse Popular Code Answers by Language