4 lines
100 B
Raku
4 lines
100 B
Raku
@array = (1, 2, 3, 4, 5, 6);
|
|
@array[2 .. 4] = reverse @array[2 .. 4];
|
|
|
|
print join (", ", @array); |