Keystroke Count

Easy · rating 900 · Strings, Math

On a phone, typing a lowercase letter is one key press, but an uppercase letter also needs a Shift — two presses. Every other character is one press. Read a line and print the total key presses.

Related problems

Open Keystroke Count in Code Arena →