Set the variable bool1 to the value true, bool2 to the value !bool1 and calculate bool3 as bool1 && !bool2. What is the value of bool3?
Boolean and Logical Operators
Chain of variables
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.