Course of Raku / Essentials / Variables and data types 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
Course navigation
← Solution: Boolean tables | Solution: Double negation →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська