Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Pangram-checker/Mathematica/pangram-checker-1.math
Normal file
1
Task/Pangram-checker/Mathematica/pangram-checker-1.math
Normal file
|
|
@ -0,0 +1 @@
|
|||
pangramQ[msg_]:=Complement[CharacterRange["a", "z"], Characters[ToLowerCase[msg]]]=== {}
|
||||
5
Task/Pangram-checker/Mathematica/pangram-checker-2.math
Normal file
5
Task/Pangram-checker/Mathematica/pangram-checker-2.math
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
pangramQ[msg_] :=
|
||||
Function[If[# === {}, Print["The string is a pangram!"],
|
||||
Print["The string is not a pangram. It's missing the letters " <>
|
||||
ToString[#]]]][
|
||||
Complement[CharacterRange["a", "z"], Characters[ToLowerCase[msg]]]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue