You are viewing a single comment's thread. Return to all comments →
Well then all you would need to do is .replace() any of your special chars with nothing. See my edited solution, I removed all spaces.
from collections import Counter print("pangram" if len(Counter(input().lower().replace(' ',''))) == 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 →
Well then all you would need to do is .replace() any of your special chars with nothing. See my edited solution, I removed all spaces.