-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lecture "Programming languages", exercise 1 #10
Comments
True |
not (not True or False and True) or False |
True |
not (not True or False and True) or False |
not ((not True) or (False and True)) or False
not (False or False) or False
not False or False
True or False
True |
True |
not (not True or False and True) or False |
True |
not (not True or False and True) or False |
not (not True or False and True) or False |
Not (not True or False and True) or False |
not (not True or False and True) or False |
not (not True or False and True) or False Correct way to solve it: not (not True or False and True) or False |
True |
Hi all, thanks for your take. It is important to remember that boolean operators must be applied with a particular priority among them, i.e. first |
not True is False. |
edit: |
not (not True or False and True) or False |
not (not True or False and True) or False |
What is the boolean value of
not (not True or False and True) or False
?The text was updated successfully, but these errors were encountered: