aboutsummaryrefslogtreecommitdiff
path: root/challenge-077
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2021-12-10 15:44:14 +0000
committerGitHub <noreply@github.com>2021-12-10 15:44:14 +0000
commita0df6bfc4d83588e44f30dc7e376e4ca135fb750 (patch)
tree4c8b28ea792584a960ab42f797320981f43f21e2 /challenge-077
parentb5ad6304f009f456549d5cea667a1e8e6199236f (diff)
parent5e76417dd0655c976216a7ddf91d35929e56c594 (diff)
downloadperlweeklychallenge-club-a0df6bfc4d83588e44f30dc7e376e4ca135fb750.tar.gz
perlweeklychallenge-club-a0df6bfc4d83588e44f30dc7e376e4ca135fb750.tar.bz2
perlweeklychallenge-club-a0df6bfc4d83588e44f30dc7e376e4ca135fb750.zip
Merge pull request #5357 from pauloscustodio/devel
Devel
Diffstat (limited to 'challenge-077')
-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)):