leetle

Daily challenge for 2025-07-26

207. Count Consonants in String

Write a function solve that counts the number of consonants in a string (ignoring case). Consonants are all letters that are not vowels (a, e, i, o, u).

Example:
Input: "Hello World"
Output: 7

Run this challenge interactively in Python or JavaScript when the app loads.