← back to unit
Easy
# searching easy
Count the Uppercase Letters
SHOUTED letters are how the robot shows excitement. 🤖
You get a message mixing big and small letters. Count the uppercase letters and print the count.
Example:
Input: message = "HeLLo RoBot"
Output: 5
H, L, L, R, B are uppercase (5 of them) — the rest are lowercase letters or a space.
💡 need a hint?
srch-count-uppercase.py🔒 given lines are locked — write your code in between
loading...