From 510ad6e708b04e586f9b135ae03fd246c01f6e68 Mon Sep 17 00:00:00 2001 From: Paulo Custodio Date: Fri, 10 Dec 2021 13:50:53 +0000 Subject: Minor fix --- challenge-077/paulo-custodio/python/ch-2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge-077/paulo-custodio/python/ch-2.py b/challenge-077/paulo-custodio/python/ch-2.py index eb485e1e70..082eb8c9c2 100644 --- a/challenge-077/paulo-custodio/python/ch-2.py +++ b/challenge-077/paulo-custodio/python/ch-2.py @@ -39,7 +39,7 @@ def read_input(): m = read_input() for i in range(len(m)): - m[i] = [x for x in m[i].rstrip("\n")] + m[i] = [x for x in m[i].strip()] lonely = 0 for row in range(len(m)): -- cgit