diff options
| -rw-r--r-- | challenge-021/andrezgz/perl5/ch-1.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-021/andrezgz/perl5/ch-1.pl b/challenge-021/andrezgz/perl5/ch-1.pl index 22014b8f25..c7bb8de8d7 100644 --- a/challenge-021/andrezgz/perl5/ch-1.pl +++ b/challenge-021/andrezgz/perl5/ch-1.pl @@ -11,7 +11,7 @@ use warnings; my $e_aprox = 0; my $fact = 1; -for (1, 1 .. 100) { +for (1, 1 .. 100) { #tricky - additional 1 to represent 0! $fact *= $_; $e_aprox += 1/$fact; } |
