Permutations: Difference between revisions
m
→Functional Python: (pruned out an unused function, updated output)
(→Functional: Edited to preserve the input type, pylinted for Python 3, updated output.) |
m (→Functional Python: (pruned out an unused function, updated output)) |
||
Line 5,647:
)
# FORMATTING ----------------------------------------------
# fTable :: String -> (a -> String) ->
Line 5,686 ⟶ 5,680:
main()</lang>
{{Out}}
<pre>
▲ 'abc' -> ['abc','bca','cab','bac','acb','cba']</pre>
=={{header|Qi}}==
|