Posts by Gilberto Gantois • 1 point
1 post
-
-2
votes5
answers6866
viewsA: Indicate whether a character is a vowel or a consonant
def vogal(x): y= ['a','e','i','o','u'] i=0 prov = [] for i in y: if i == x: prov.append(True) else: prov.append(False) if any(prov): print('True') else: print("False")…
pythonanswered Gilberto Gantois 1