Course of Raku / Essentials / More about types

Associative data types

Associative data types are aggregate data types that keep multiple elements and support access based on names. In this part of the course, we examine the basics of two such types in Raku: pairs and hashes.

Topics in this section

Practice

Complete the quizzes that cover the contents of this section.

Exercises

This section contains 6 exercises. Examine all the topics of this section before doing the coding practice.

  1. Salary raise
  2. Seen before?
  3. Country codes
  4. Replace with antonyms
  5. Purchase table
  6. Travel distance*

Course navigation

Solution: Spell a number   |   Pairs

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