Jump to content

Find words which contain the most consonants: Difference between revisions

m
(add RPL)
m (→‎{{header|Wren}}: Minor tidy)
Line 4,207:
=={{header|Wren}}==
{{libheader|Wren-fmt}}
{{libheader|Wren-seq}}
<syntaxhighlight lang="ecmascript">import "io" for File
import "./fmt" for Fmt
import "/seq" for Lst
 
var wordList = "unixdict.txt" // local copy
Line 4,244 ⟶ 4,242:
var s = (count == 1) ? "" : "s"
System.print("%(count) word%(s) found with %(i) unique consonants:")
for (chunk in Lst.chunks(wordGroups[i], 5)) Fmt.printtprint("$-14s", chunkwordGroups[i], 5)
System.print()
}
9,479

edits

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