diff options
Diffstat (limited to 'solutions/py/d08.py')
| -rw-r--r-- | solutions/py/d08.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solutions/py/d08.py b/solutions/py/d08.py index f889918..7df2aec 100644 --- a/solutions/py/d08.py +++ b/solutions/py/d08.py @@ -23,10 +23,10 @@ def pt2(input): result[y][x] = layer[y][x] str_res = [] for row in result: + str_res.append("\n ") for c in row: str_res.append('\u2588' if c == 1 else ' ') - str_res.append("\n") - return "\n" + ("".join(str_res)) + return "".join(str_res) if __name__ == "__main__": import cProfile |
