Given a string check if it is Pangram or not. A pangram is a sentence containing every letter in the English Alphabet.

Input Format:
First line of input contains of an integer 'T' denoting number od test cases then T test cases follow . Each testcase contains a String 'S'.

Output Format:
For each test case print in a new line 1 if its a pangram else print 0 .

Your Task:
This is a function problem. You need to complete the function checkPanagram that takes string as parameter and returns true if string is panagram, else it returns false.

Constraints:
1 <= T <= 25
1 <= |S| <= 50

Example:
Input:

2
Bawds jog, flick quartz, vex nymph
sdfs

Output:
1
0

** For More Input/Output Examples Use 'Expected Output' option **

Author: Shubham Joshi 1


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.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.