Whats wrong ? conditionals and control flow


#1


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

its not working it gives me an error on bool four :cry:
Oops, try again. Double check your value for bool_four!


Replace this line with your code. 

# Set this to True if -22 >= -18 or to False if it is not.
bool_four = True
if -22 >= -18 :
    bool_four == True 
else:
    bool_four == False


#2

Hi @haneensami,

This is an assignment statement ...

bool_four = True

... but this is not ...

    bool_four == True

Consider this condition ...

-22 >= -18

Is it True or is it False?

Based on the answer to that question, you only need to do either this ...

bool_four = True

... or do this ...

bool_four = False

No if or else blocks are necessary.


#3

Thankk Youuu :blush:


#4