Hex words: Difference between revisions
m
→{{header|Julia}}
Thundergnat (talk | contribs) m (→{{header|Raku}}: typo) |
|||
Line 98:
println(rpad(a[1], 6), rpad(a[2], 10), a[3])
end
println("Total count of these words: $(length(results)).")
println("\nHex words with > 3 distinct letters:\nRoot Word Base 10\n", "-"^30)
filter!(a -> length(unique(a[2])) > 3, results)
Line 104:
println(rpad(a[1], 6), rpad(a[2], 10), a[3])
end
println("Total count of those words: $(length(results)).")
end
Line 139:
9 deed 57069
9 face 64206
Total count of these words: 26.
Hex words with > 3 distinct letters:
Line 157:
9 cafe 51966
9 face 64206
Total count of those words: 13.
</pre>
=={{header|Perl}}==
|