Jump to content

Pangram checker: Difference between revisions

Added 11l
(Add Quackery)
(Added 11l)
Line 17:
:*   [https://rosettacode.org/wiki/Determine_if_a_string_has_all_unique_characters determine if a string has all unique characters]
<br><br>
 
=={{header|11l}}==
<lang 11l>F is_pangram(sentence)
R Set(sentence.lowercase().filter(c -> c.is_alpha())).len == 26
 
L(sentence) [‘The quick brown fox jumps over the lazy dog.’,
‘The quick brown fox jumped over the lazy dog.’]
print(‘'#.' is #.a pangram’.format(sentence, ‘not ’ * !is_pangram(sentence)))</lang>
 
{{out}}
<pre>
'The quick brown fox jumps over the lazy dog.' is a pangram
'The quick brown fox jumped over the lazy dog.' is not a pangram
</pre>
 
=={{header|360 Assembly}}==
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.