Course of Raku / Objects, I/O, and exceptions / Classes and objects / Subroutines vs methods

Exercises: Subroutines vs methods

This section contains 2 exercises.

  1. Triple as a subroutine
  2. Triple as a method

Refresh your knowledge

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

Course navigation

Triple as a subroutine