A pangram is a string that contains every letter of the alphabet. Given a sentence determine whether it is a pangram in the English alphabet. Ignore case. Return either pangram or not pangram as appropriate.
Complete the function pangrams in the editor below. It should return the string pangram if the input string is a pangram. Otherwise, it should return not pangram.
pangrams has the following parameter(s):
def pangrams(s):
# Write your code here
s = s.replace(" ", "").lower()
lst = []
for i in s:
if i not in lst:
lst.append(i)
if len(lst) == 26:
return 'pangram'
else:
return 'not pangram'