Multiplication tables: Difference between revisions
m
→{{header|Python}}
(→{{header|Python}}: Simplified the functional variant, defining a string in terms of a list comprehension.) |
|||
Line 4,170:
# unlines :: [String] -> String
def unlines(xs):
'''A newline-delimited string
return '\n'.join(xs)
|