diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-07-06 21:42:21 +0100 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-07-06 21:42:21 +0100 |
| commit | 7e18a5b7b098b8448f40e2694a60bfbda53cfd3b (patch) | |
| tree | e1779aaddf5b046e0381a30063e73309209480cd /challenge-102 | |
| parent | 5aca4db735e55e7b8cfb535a0edc2b9874e368c0 (diff) | |
| download | perlweeklychallenge-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.bas | 2 |
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 |
