Course of Raku / Essentials / Positional data types

Exercises: Positional data types

This section contains 9 exercises.

  1. Square and cube
  2. Traffic lights
  3. The number of command-line arguments
  4. Print command-line arguments
  5. Count and print command-line arguments
  6. Months names
  7. Odd indices
  8. Print a series of numbers
  9. Spell a number

Refresh your knowledge

Refer to the contents of this section to find the answers if needed.

  • Positional data types
    • Arrays
    • Nested arrays
    • The @*ARGS array
    • Interpolating arrays
    • Lists
    • Quoting string arrays
    • Subscripting ranges

Course navigation

← Typed variables / Allomorphs   |   Associative data types →

Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська