Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
enclose! solution in Clear category for List Beautify by veky
def list_beautify(data):
def enclose(inside, data): return inside.join(data).join('[]')
widths = [str(max(len(str(number)) for number in column)) for column in zip(*data)]
return enclose(',\n ', [enclose(', ', map(format, row, widths)) for row in data])
March 24, 2023
Comments: