while True: text = list(input("Enter some text: ").lower()) print( "A", text.count("a"), "E", text.count("e"), "I", text.count("i"), "O", text.count("o"), "U", text.count("u"), )