s = "apple pie"
r1 = s.count('a')
print(f"a : {r1}")
r2 = s.count('p')
print(f"p : {r2}")
r3 = s.count('l')
print(f"l : {r3}")
r4 = s.count('e')
print(f"e : {r4}")
r5 = s.count('i')
print(f"i : {r5}")
To embed this project on your website, copy the following code and paste it into your website's HTML: