aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-077/paulo-custodio/python/ch-2.py2
1 files changed, 1 insertions, 1 deletions
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)):