Longest palindromic substrings: Difference between revisions
m
→{{header|Python}}
m (→{{header|Python}}: Added a functionally composed Python draft.) |
|||
Line 313:
the given string, tupled with the
maximal length.
Non
'''
k = s.lower()
Line 403:
return g
return go
# ---------------------- FORMATTING ----------------------
Line 408 ⟶ 409:
# fTable :: String -> (a -> String) ->
# (b -> String) -> (a -> b) -> [a] -> String
def fTable(s):
'''Heading -> x display function -> fx display function ->
|