You are viewing a single comment's thread. Return to all comments →
Python 3: 0(n)
def pangrams(s): to_search = "abcdefghijklmnopqrstuvwxyz" s = s.lower() count = 0 for i in to_search: if count == 26: break elif i in s: count += 1 return "pangram" if count == 26 else "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 →
Python 3: 0(n)