Editor settings

General settings

Save settings

Learn to program with Python

Is this pangram #

Write a function that takes a sentence as input and determines whether it is a pangram. A pangram is a sentence that contains every letter of the alphabet at least once, regardless of case.

Tips #

Make sure to handle both uppercase and lowercase letters when checking for pangram condition.


Tests #

  • is_this_pangram("The quick brown fox jumps over the lazy dog.") should return True
  • is_this_pangram("Pack my box with five dozen liquor jugs.") should return True
  • is_this_pangram("Python is an amazing programming language.") should return False
  • is_this_pangram("Mr. Jock, TV quiz PhD, bags few lynx.") should return True
  • is_this_pangram("Lorem ipsum dolor sit amet, consectetur adipiscing elit.") should return False
Output will be displayed here