Ctrl K

Whole Alphabet in a Text

Easy
A typesetter is testing a font and needs a line that uses every letter of the English alphabet. You are given a string text of lowercase Latin letters with no spaces. Return True if each of the 26 letters from a to z occurs in text at least once, and False if any letter is missing.
Example 1
text="packmyboxwithfivedozenliquorjugs" → True

All 26 Latin letters appear here.

Example 2
text="offerland" → False

Plenty of letters are missing, z for one.

Constraints
  • 1 ≤ len(text) ≤ 1000
  • text contains only lowercase Latin letters
Have you seen this problem in a real interview?
Solved by0
Tried by0
Submissions0
Acceptance—
Topics
Similar problemsValue of a Roman Numeral EasySame Letter Cipher EasySame Letters, Reshuffled EasySame When Flipped EasyShuffle Into a Palindrome Easy
loading Python…
Input
text="packmyboxwithfivedozenliquorjugs"
Expected
True

Run checks the first 3 tests in your browser. Submit checks all 99 tests on the server, hidden ones included.