Dashboard Temp Share Shortlinks Frames API

HTMLify

is_vowel.py
Views: 486 | Author: abh
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
def is_vowel(char):
    vowels = ["a", "e", "i", "o", "u", "A", "E", "I", "O", "U"]
    return char in vowels

def is_vowel(char):
    vowels = ["a", "e", "i", "o", "u"]
    return char.lower() in vowels

def is_vowel(char):
    return char.lower() in set("aeiou")