Created
May 14, 2024 03:27
-
-
Save DrunkenAlcoholic/ac64c04bc97c623b60346fdea95dabc5 to your computer and use it in GitHub Desktop.
Pangram [Exercism - Nim]
This file contains hidden or 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
import strutils | |
proc isPangram*(s: string): bool = | |
for char in 'a'..'z': | |
if not contains(s.toLowerAscii, char): return false | |
else: result = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment