pangram function

Do you want to know the information about “pangram function”. If yes, you’re in the correct tutorial.

pangram function

def is_pangram(str, alphabet = "abcdefghijklmnopqrstuvwxyz"):
  alphabet = alphabet.lower()
  for char in alphabet:
    if char not in str.lower():
      return False
  
  return True
string = input("text>>")
print(is_pangram(string))

Final Words

I hope this tutorial helps you to know about “pangram function”. If you have any doubts regarding this post please let us know via the comment section. Share this tutorial with your friends & family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment