Course of Raku / Essentials / More about types / Positional data types / Subscripting ranges

Quiz — working with ranges

Type in the result of the following expressions for the given range.

.my $range = 5..10;
5say $range[0]; # ␣␣
10say $range[5]; # ␣␣
6say $range.elems; # ␣␣

Course navigation

Subscripting ranges   |   Square and cube

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська