NOT section


#1

OK I think this is right but keeps coming up with "Oops, try again. Make sure you have a value of all 5 variables!"

Where am I going wrong

Here's the code as I entered it

bool_one =not 3 + 2 = 6

bool_two =not 3**4 < 4**3

bool_three =not 10 % 3 <= 10 % 2

bool_four =not 3**2 + 4**2 != 5**2

bool_five = 3 + 1 = 4


#2

a single equal sign means assign, do you mean to check if 3 +1 equals 4? What do you need to use then?


#4

why do I feel like "not" are trick questions -> Set bool_two equal to the result of not 3**4 < 4**3

3 * 3 * 3 * 3 = 81 < 4 * 4 * 4 = 64 ---false right ..."true" not operator lol

3**4 > 4**3 and 1 == 1

something similar in your case, if their question is false, make your answer true to follow the " not " operator


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.