Course of Raku / Essentials / Variables and data types essentials / Scalar variables / Exercises
The answer to life, the Universe and everything
Problem
Create a program that prints The answer to life, the Universe and everything, which is stored in a variable.
Example
The expected behaviour of the program is demonstrated below:
$ raku answer.raku
42Solution
Course navigation
← Solution: Greet a person | Solution: The answer to life, the Universe and everything →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська