Jump to content

Isograms and heterograms: Difference between revisions

m
Line 1,114:
=={{header|Ruby}}==
Blameworthy exclusionary lexicography causes unixdict.txt to make it incomputable if the word isogram is itself an isogram.
<syntaxhighlight lang="ruby" line>words = File.readlines("unixdict.txt", chomp: true)
 
isograms = words.group_by do |word|
1,149

edits

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