Find words whose first and last three letters are equal: Difference between revisions
Content added Content deleted
(Added solution for Action!) |
Alextretyak (talk | contribs) (Added 11l) |
||
Line 10: | Line 10: | ||
{{Template:Strings}} |
{{Template:Strings}} |
||
<br><br> |
<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!}}== |
=={{header|Action!}}== |