← Problem book: Python
Lesson 77 of 96 · 10 XP
How many letters a
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
You are given one word of lowercase Latin letters (no longer than 100 characters).
Print how many times the letter a occurs in the word.
Example
Input:
banana
Output:
3
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.