programming-examples/perl/Statement/Range Operator.pl
2019-11-15 12:59:38 +01:00

10 lines
143 B
Raku

print 0 .. 10,"\n";
@alpha=('A' .. 'Z');
print "@alpha";'
@a=('a'..'z', 'A'..'Z');
print "@a\n";'
@n=( -5 .. 20 );
print "@n\n";'