Pangram Detector

Easy ⏱ 8 min 76% acceptance ★★★★★ 4.8
Write is_pangram(sentence) that returns True if the sentence uses every letter of the English alphabet at least once, ignoring case, digits, spaces and punctuation.

Examples

Example 1
Input
is_pangram('The quick brown fox jumps over the lazy dog')
Output
True
Explanation

All 26 letters appear.

Constraints

  • Case-insensitive.
  • Non-letter characters are ignored.

Topics

Setsmembership

Companies

GoogleWipro

Hints

Hint 1

Filter the string to alphabetic characters and lowercase them.

Hint 2

Compare the resulting set size to 26.

Loading the Python runtime… Run executes your code and shows printed output; Submit checks your function against this problem's examples.