tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
3
Task/Pangram-checker/Smalltalk/pangram-checker-1.st
Normal file
3
Task/Pangram-checker/Smalltalk/pangram-checker-1.st
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
!String methodsFor: 'testing'!
|
||||
isPangram
|
||||
^((self collect: [:c | c asUppercase]) select: [:c | c >= $A and: [c <= $Z]]) asSet size = 26
|
||||
1
Task/Pangram-checker/Smalltalk/pangram-checker-2.st
Normal file
1
Task/Pangram-checker/Smalltalk/pangram-checker-2.st
Normal file
|
|
@ -0,0 +1 @@
|
|||
'The quick brown fox jumps over the lazy dog.' isPangram
|
||||
Loading…
Add table
Add a link
Reference in a new issue