NPTEL | Joy of computing using Python | WEEK 8 | Programming Assignment 2: Panagrams

preview_player
Показать описание
NPTEL | Joy of computing using Python | WEEK 8 | Programming Assignment 2: Panagrams

A panagram is a sentence containing every 26 letters in the English alphabet. Given a string S, check if it is panagram or not.

Input Format:
The first line contains the sentence S.

Output Format:
Print 'YES' or 'NO' accordingly

Example:

Input:
The quick brown fox jumps over the lazy dog

Output:
YES
Рекомендации по теме
Комментарии
Автор

NPTEL AUG-NOV 2019
THE JOY OF COMPUTING USING PYTHON
WEEK 8 SOLUTIONS HAVE BEEN UPLOADED.

UltimateGamer-easycodesol
Автор

thank u very much bro...dam sure u will be in very high status...

sivagopalkuppala
Автор

alphabet=[]
for i in range(97, 123):
alphabet.append(chr(i))
ip=input()
LOW=(ip.lower())
short=[]
for i in LOW:
if i==' ':
continue
if i not in short:
short.append(i)
final=sorted(short)
if final==alphabet:
print("YES", end='')
else:
print("NO", end='')

UltimateGamer-easycodesol
Автор

Hey have you already appeared in the exam of this course- Joy of computing using python?

arunima_redray
visit shbcf.ru