Find words which contain the most consonants: Difference between revisions

Content deleted Content added
Aerobar (talk | contribs)
add RPL
PureFox (talk | contribs)
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()
}