Course of Raku / Essentials / 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
Next exercise
Course navigation
← Data type conversion / Converting types with prefix operators | Positional data types →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська