Jump to content

Semordnilap: Difference between revisions

Added Uiua solution
(Added Yabasic)
(Added Uiua solution)
Line 3,482:
4. ah'ha
5. al'la
</pre>
 
=={{header|Uiua}}==
<syntaxhighlight lang="Uiua">
&p &pf "Number of pairs: " ÷2⧻.▽≡(׬≍⇌.⟜(∊⇌))⟜¤. ⊜□ ≠@\n. &fras "unixdict.txt"
</syntaxhighlight>
{{out}}
<pre>
Number of pairs: 158
{"able" "abut" "ac" "ah" "al" "am" "amos" "and" "ape" "aps" "are" "ares" "aryl" "as" "at" "ate" "ave" "avid" "avis" "aviv" "avon" "bad" "bag" "ban" "bard" "bat"
...
vi" "viva" "von" "vt" "wac" "wah" "wang" "war" "ward" "was" "way" "wed" "wolf" "won" "wop" "xi" "yah" "yak" "yam" "yap" "yaw" "zap" "zeus"}
 
</pre>
 
88

edits

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