Problem Statement
Write a python program to check if the given string is pangram or not.
Copy the below python program and execute it to see the program output. I have executed it shared the program output after the program.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import string def ispangram(str): alphabet = "abcdefghijklmnopqrstuvwxyz" for char in alphabet: if char not in str.lower(): return False return True # main string = 'The five boxing wizards jump quickly.' if(ispangram(string) == True): print("Yes") else: print("No") |
Output
1 |
Yes |
That’s all, we hope this helped you!
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.