Question: Question 3 [20 marks] . . . A pangram is a phrase that includes at least one occurrence of each of the 26 letters, a-z.

 Question 3 [20 marks] . . . A pangram is a

Question 3 [20 marks] . . . A pangram is a phrase that includes at least one occurrence of each of the 26 letters, a-z. Write a program called pangram_061.py that reads lines of text from stdin. For each line of text read the program should print pangram if that line is a pangram. If a line of text is not a pangram the program should print which letters are missing (i.e. those required to make it a pangram). These should be printed in lower case and in increasing alphabetical order. A letter occurs in the line of text if it occurs in either upper or lower case. You can assume each line contains 1-100 characters. For example: . $ cat pangram_stdin_00_061.txt The quick brown fox jumps over the lazy dog. ThE QUICK brown fox jumps over the lazy dog. ZYXW, vu TSR Ponm lkj ihgfd CBA. .,?!'" 92384 abcde FGHIJ $ python3 pangram_061.py

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!