Skip to main content
added 15 characters in body
Source Link

Perl 6, 61 bytes

Perl 6, 61 bytes

my $x=prompt(0);my @a=$x xx$x;"@a=[@a] xx $x;".EVAL xx$x-1; 

Big rippof from the Python 2 answer, but converted :P

Perl 6, 61 bytes

my $x=prompt(0);my @a=$x xx$x;"@a=[@a] xx $x;".EVAL xx$x-1; 

Big rippof from the Python 2 answer, but converted :P

Perl 6, 61 bytes

my $x=prompt(0);my @a=$x xx$x;"@a=[@a] xx $x;".EVAL xx$x-1; 

Big rippof from the Python 2 answer, but converted :P

Source Link

Perl 6, 61 bytes

my $x=prompt(0);my @a=$x xx$x;"@a=[@a] xx $x;".EVAL xx$x-1; 

Big rippof from the Python 2 answer, but converted :P