text = input("Enter some text for vowel counting: ") counta = text.count('a') counte = text.count('e') counti = text.count('i') counto = text.count('o') countu = text.count('u') print("Count of a:", counta) print("Count of e:", counte) print("Count of i:", counti) print("Count of o:", counto) print("Count of u:", countu) #works