Код: Выделить всё
import string
alphabet = set(string.ascii_lowercase)
def is_pangram_alternative(s):
return not (set(alphabet) - set(s))
input_string = 'The quick brown fox jumps over the lazy dog'
if is_pangram_alternative(input_string):
print("Yes")
else:
print("No")
Подробнее здесь: https://stackoverflow.com/questions/783 ... -in-python