9 lines
301 B
Python
9 lines
301 B
Python
n = int(input())
|
|
alphabet = 'abcdefghijklmnopqrstuvwxyz'
|
|
for _ in range(n):
|
|
line = input().strip().lower()
|
|
missing = ""
|
|
for letter in alphabet:
|
|
if letter not in line:
|
|
missing = f"{missing}{letter}"
|
|
print("pangram" if missing == "" else f"missing {missing}") |