Course of Raku / Advanced / More about built-in types / Sequences / Exercises
Odd numbers
Problem
Print the odd numbers from 1 to 19, using
the ... sequence operator.
Example
The program prints:
(1 3 5 7 9 11 13 15 17 19)Course of Raku / Advanced / More about built-in types / Sequences / Exercises
Print the odd numbers from 1 to 19, using
the ... sequence operator.
The program prints:
(1 3 5 7 9 11 13 15 17 19)