Course of Raku / Essentials / Scalar variables / Exercises

Swap values


Create a program that first creates two values, assigns some integers to them, and then swaps the values and prints them. Try to create the simplest program you can and do not use temporary variables.


See the solution

Next exercise

💪 Correct the identifiers

Course navigation

Comments / Embedded comments   |   Strings