letters = ["a", "b", "a", "c", "a"] print(letters.index("b")) print(letters.count("a"))
Click Run to execute this code.