M
Matija Papec
I know how to alter the list via list indicies but I would like to know if
there is posibility to write in Python something like:
my @arr = 1..3;
for my $element (@arr) {
$element *= 2;
}
print "@arr\n";
and get the result
there is posibility to write in Python something like:
my @arr = 1..3;
for my $element (@arr) {
$element *= 2;
}
print "@arr\n";
and get the result