At OR, I get an error


#1



So, Im stuck at Or of Conditials & Control Flow, and I cant seem to find what I did wrong. Here is my code:

bool_one = 2**3 == 108 % 100 or 'Cleese' = 'King Arthur'

The error is the following: File "python", line 1
SyntaxError: can't assign to operator

Nevermind, found the error. One = instead of ==. Can be closed!


#2

remember that "=" is used to assign a value, but "==" to an operater


#3

oops! sorry! didn't see your note!


#4

How is this statement true? 2**3 (which is two to the third power) is not equal to 108 % 100 (108/100 modulo operator)
Maybe i'm doing the math incorrectly. Can someone help please?


#5

2**3 = 8
108%100 = 8 (100 divided 108 is a remainder of 8. Remember modulo only gives the remainder as an answer)