NPTEL | Joy of computing using Python | WEEK 8 | Programming Assignment 1:Duplicate Elements

preview_player
Показать описание
NPTEL | Joy of computing using Python | WEEK 8 | Programming Assignment 1:Duplicate Elements
Рекомендации по теме
Комментарии
Автор

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

UltimateGamer-easycodesol
Автор

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



def pangram(input):

input = input.lower()

input = set(input)

alpha = [ ch for ch in input if ord(ch) in range(ord('a'), ord('z')+1)]

if len(alpha) == 26:
return 'YES'
else:
return 'NO'
if __name__ == "__main__":
input1 = input()
print(pangram(input1))

stormeditzzx
Автор

l=[int(i) for i in input().split(" ")]
f=[]
for i in l:
if i not in f:
f.append(i)
for i in f:
print(i, end=' ')

UltimateGamer-easycodesol
visit shbcf.ru