You are viewing a single comment's thread. Return to all comments →
what is set("abcdefghijklmnopqrstuvwxyz")) == 26 supposed to do? I did it through set too like this.
import string s = raw_input().strip().lower() for i in string.whitespace + string.punctuation: if i in s: s = s.replace(i, '') if len(set(s)) == 26: print "pangram" else: print "not pangram"
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
what is set("abcdefghijklmnopqrstuvwxyz")) == 26 supposed to do? I did it through set too like this.