Im stuck please help boolean


#1


https://www.codecademy.com/courses/python-beginner-BxUFN/2/2?curriculum_id=4f89dab3d788890003000096#

number 4 when put value say invalid syntax


Replace this line with your code.


#2

can you copy paste your full code to the forum?


#3

bool_one = 1 < 2 and 1 < 5 is False
-2 < 4 and 3 < 6 and 4 < 8 is False
bool_two = -1(-1(-1(-2))==-2 and 4 >= 16 ** 0.5

bool_three = 19 % 4 != 300 / 10 / 10 and 19 % 4 != 120 False

bool_four = 

bool_five = 18 + 10 == 28 and 38 - 10 == 28 is True and 2**3 ==8  and 8**0.5 is True

#4

help where am i doing it wrong??ool_one = 1 < 2 and 1 < 5 is False
-2 < 4 and 3 < 6 and 4 < 8 is False
bool_two = -1(-1(-1(-2))==-2 and 4 >= 16 ** 0.5

bool_three = 19 % 4 != 300 / 10 / 10 and 19 % 4 != 120 False

bool_four =

bool_five = 18 + 10 == 28 and 38 - 10 == 28 is True and 2**3 ==8 and 8**0.5 is True


#5

you should really set the bools to the values which are suggested to the exercise.

in bool_two, the number of parentheses doesn't match. (and -1 is not the same as -)

in bool_three the and keyword between 120 and False is missing.

And i am sure there is more


#6

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