Course of Raku / Essentials / Scalar variables / Declaration with initialization

Quiz 1: Declaration with initialization

Fill the missing parts of the program to declare and initialise the variables.

= my $radius ␣ 6378; # km
my ␣␣ $population = 8; # billion
my $ = ␣␣ ␣age ␣ 4.5; # billion years

Course navigation

Scalar variables / Assigning a value   |   Scalar variables / The defined-or operator


💪 Or jump directly to the exercises to this section.

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