Course of Raku / Essentials / More about types / Typed variables / Exercises

Examine the result of prompt — Strings

Task

Complete the following program to repeat the entered name and print the type of the value in the variable $name.

my $name = prompt 'What is your name? ';
# Continue here . . .

Solution

See the solution

Course navigation

Solution: Create variables of all known types   |   Solution: Examine the result of prompt — Strings

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