Check if the given string S is a Panagram or not. A pangram is a sentence containing every letter in the English Alphabet.
Example : The quick brown fox jumps over the lazy dog ” is a Pangram [Contains all the characters from ‘a’ to ‘z’]
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow.
The first line of each test case contains a case insensitvie string S.
Note: The input string can contain whitespaces.
For each test case T print in a new line 1 if the string is pangram else print 0.
1 <= T <= 100
0 <= S <=500
The brown fox jumps over the dog
Pack my box with five dozen liquor jugs
New job: fix Mr Gluck's hazy TV, PDQ
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.