Question: A string is a pangram if it contains all letters of the English alphabet, ascii['a'-'z']. Given a list of strings, determine if each one is

A string is a pangram if it contains all letters of the English alphabet, ascii['a'-'z']. Given a list of strings, determine if each one is a pangram or not. Return "1" if true and "0" if false. Example pangram = ['pack my box with five dozen liquor jugs', 'this is not a pangram'] the string 'pack my box with five dozen liquor jugs' is a pangram , because it contains all the letters 'a' through 'z' the string 'this is not a pangram' is not a pangram Assemble a string of the two results, in order. The result is '10'. Function Description Complete the function isPangram n the editor below. isPangram has the following parameter(s): string pangram[n]: an array of strings Returns: string: a string where each position represents the results of a test. Use '1' for true and '0' for false. Constraints 1 ? n ? 100 Each string pangram[i] (where 0 ? i < n) is composed of lowercase letters and spaces. 1 ? length of pangram[i] ? 105

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below Python code for the ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!