Find words with alternating vowels and consonants: Difference between revisions
Find words with alternating vowels and consonants (view source)
Revision as of 19:13, 12 February 2021
, 3 years agoSwift - use forEach instead of for loop
m (Prolog - removed unnecessary line) |
m (Swift - use forEach instead of for loop) |
||
Line 2,112:
do {
.filter{$0.count > 9 && alternatingVowelsAndConsonants(word: $0)}
.forEach{print
} catch {
print(error.localizedDescription)
|