aboutsummaryrefslogtreecommitdiff
path: root/challenge-097/paulo-custodio/basic
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-097/paulo-custodio/basic
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-097/paulo-custodio/basic')
-rw-r--r--challenge-097/paulo-custodio/basic/ch-2.bas2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-097/paulo-custodio/basic/ch-2.bas b/challenge-097/paulo-custodio/basic/ch-2.bas
index fa6bcfbdf9..4c3a50d602 100644
--- a/challenge-097/paulo-custodio/basic/ch-2.bas
+++ b/challenge-097/paulo-custodio/basic/ch-2.bas
@@ -43,4 +43,4 @@ function bit_flips(bits as string, n as integer) as integer
bit_flips=flips
end function
-print trim(str(bit_flips(command(1), val(command(2)))))
+print bit_flips(command(1), val(command(2)))