aboutsummaryrefslogtreecommitdiff
path: root/challenge-105
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-105
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-105')
-rw-r--r--challenge-105/paulo-custodio/basic/ch-1.bas2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-105/paulo-custodio/basic/ch-1.bas b/challenge-105/paulo-custodio/basic/ch-1.bas
index 790f9314b9..ddf50f0d6d 100644
--- a/challenge-105/paulo-custodio/basic/ch-1.bas
+++ b/challenge-105/paulo-custodio/basic/ch-1.bas
@@ -24,4 +24,4 @@ dim n as integer, k as integer
n=val(command(1))
k=val(command(2))
-print trim(str(round(k^(1/n))))
+print round(k^(1/n))