Dies ist eine Funktion für ein Pangram, das ich geschrieben habe. die alpha[num]
aus irgendeinem Grund nimmt a,c,e,g
etc statt a,b,c,d,e
des Nehmens usw.Python Pangram überspringt zweiten Buchstaben
def ispangram(str1,alphabet=string.ascii_lowercase):
alpha = []
alpha += alphabet
str1 = list(str1)
for num in range(0,25):
print num
print alpha[num]
for equal in str1:
print equal
if alpha[num] == equal:
alpha.pop(num)
print alpha
break
else:
continue
if alpha == none:
print 'true'
else:
print 'false'