Course of Raku / Essentials / Boolean type / Exercises
Double negation
Problem
What is the output of the following program?
my $value = False;
say !!$value;
Extend the program to repeat the actions, but for the value of True
.
Solution
Next exercise
Course navigation
← Numbers / Operations with numbers | Ranges →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська