Find words whose first and last three letters are equal: Difference between revisions
Find words whose first and last three letters are equal (view source)
Revision as of 00:31, 24 December 2021
, 2 years agoAdded 11l
(Added solution for Action!) |
Alextretyak (talk | contribs) (Added 11l) |
||
Line 10:
{{Template:Strings}}
<br><br>
=={{header|11l}}==
<lang 11l>L(word) File(‘unixdict.txt’).read().split("\n")
I word.len > 5 & word[0.<3] == word[(len)-3..]
print(word)</lang>
{{out}}
<pre>
antiperspirant
calendrical
einstein
hotshot
murmur
oshkosh
tartar
testes
</pre>
=={{header|Action!}}==
|