aboutsummaryrefslogtreecommitdiff
path: root/challenge-102
diff options
context:
space:
mode:
authorPaulo Custodio <pauloscustodio@gmail.com>2021-07-06 21:42:21 +0100
committerPaulo Custodio <pauloscustodio@gmail.com>2021-07-06 21:42:21 +0100
commit7e18a5b7b098b8448f40e2694a60bfbda53cfd3b (patch)
treee1779aaddf5b046e0381a30063e73309209480cd /challenge-102
parent5aca4db735e55e7b8cfb535a0edc2b9874e368c0 (diff)
downloadperlweeklychallenge-club-7e18a5b7b098b8448f40e2694a60bfbda53cfd3b.tar.gz
perlweeklychallenge-club-7e18a5b7b098b8448f40e2694a60bfbda53cfd3b.tar.bz2
perlweeklychallenge-club-7e18a5b7b098b8448f40e2694a60bfbda53cfd3b.zip
Remove unnecessary trim(str(n))
Diffstat (limited to 'challenge-102')
-rw-r--r--challenge-102/paulo-custodio/basic/ch-1.bas2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-102/paulo-custodio/basic/ch-1.bas b/challenge-102/paulo-custodio/basic/ch-1.bas
index 161682f7a8..3f13b6226d 100644
--- a/challenge-102/paulo-custodio/basic/ch-1.bas
+++ b/challenge-102/paulo-custodio/basic/ch-1.bas
@@ -42,7 +42,7 @@ sub print_rare_numbers(n as Integer)
if is_perfect_square(r+r1) then
if r>=r1 then
if is_perfect_square(r-r1) then
- print trim(str(r))
+ print r
end if
end if
end if