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

See the solution

Course navigation

Solution: Boolean tables   |   Solution: Double negation

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