Питонный переключатель
def operations(letter):
switch={
'a': "It is a vowel",
'e': "It is a vowel",
'i': "It is a vowel",
'o': "It is a vowel",
'u': "It is a vowel",
}
return switch.get(letter,"It is a not a vowel") # disregard 2nd parameter
operations('a')
Tofufu