aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Custodio <pauloscustodio@gmail.com>2021-12-10 13:50:53 +0000
committerPaulo Custodio <pauloscustodio@gmail.com>2021-12-10 13:50:53 +0000
commit510ad6e708b04e586f9b135ae03fd246c01f6e68 (patch)
tree8f14f16a6bc3ba3ff70b1f7f86229ad1a527d9b7
parentc06ccec55812c8c593de644e4501079e357c1560 (diff)
downloadperlweeklychallenge-club-510ad6e708b04e586f9b135ae03fd246c01f6e68.tar.gz
perlweeklychallenge-club-510ad6e708b04e586f9b135ae03fd246c01f6e68.tar.bz2
perlweeklychallenge-club-510ad6e708b04e586f9b135ae03fd246c01f6e68.zip
Minor fix
-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)):