Find words with alternating vowels and consonants: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
→‎{{header|Python}}: Added a draft in Python.
Hout (talk | contribs)
m →‎{{header|Python}}: Pruned out one unused primitive.
Line 885: Line 885:
) if 0 < n else None
) if 0 < n else None
return go
return go


# justifyLeft :: Int -> Char -> String -> String
def justifyLeft(n):
'''A string padded at right to length n,
using the padding character c.
'''
return lambda c: lambda s: s.ljust(n, c)




Line 926: Line 918:
telekinesis teratogenic topologize unilateral
telekinesis teratogenic topologize unilateral
unimodular uninominal verisimilitude</pre>
unimodular uninominal verisimilitude</pre>



=={{header|Raku}}==
=={{header|Raku}}==