Last active
September 25, 2021 15:40
-
-
Save AbbadonAA/8eb4db3dfe8a887b38236d10b6f6ac8c to your computer and use it in GitHub Desktop.
Get letters from str and analize pangram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_pangram(s): | |
let = [] | |
[let.append(l.lower()) for l in s if l.isalpha()] | |
return True if len(set(let)) == 26 else False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment