

def sudoku_line(i, line):
    s = ('' if (i % 3) else (border_line() + '\n'))
    return ((s + ' '.join((get_fmt(i).format((x if (x != '0') else '_')) for (i, x) in enumerate(line)))) + ' +')

dataset/ETHPy150Open cclauss/Ten-lines-or-less/sudoku_print.py sudoku_line/original