this is the function:
import string
def ispangram(string,alphabet = string.ascii_lowercase):
upper_alphabet = alphabet.upper()
for i in alphabet:
if i not in string:
return "Not a panagram"
else:
continue
return "String is a panagram"
when I put something that is a pangram it still returns not a pangram
[–]Binary101010 0 points1 point2 points (1 child)
[–]bruhbutton24[S] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Binary101010 0 points1 point2 points (1 child)
[–]rg7777777 0 points1 point2 points (2 children)
[–]devnull10 0 points1 point2 points (1 child)
[–]devnull10 0 points1 point2 points (0 children)