If statement - Got stuck!


#1

Hi Guys,

I got stuck in this exercise (lesson: Conditionals & Control Flow, 2. Compare Closely!):

When I try to run the code, I get the following error message:
Oops, try again. Make sure you have a value for all 5 variables!

What's wrong?

Assign True or False as appropriate on the lines below!

Set this to True if 17 < 328 or to False if it is not.

if 17 < 328:
bool_one = True # We did this one for you!

Set this to True if 100 == (2 * 50) or to False otherwise

if 100 == (2*50):
bool_two = True

Set this to True if 19 <= 19 or to False if it is not.

if 19 <= 19:
bool_three = False

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

if -22 >= -18:
bool_four = False

Set this to True if 99 != (98 + 1) or to False otherwise.

if 99 != (98+1):
bool_five = False


#2

19 is less than or equal to 19. i.e. try changing 19 <= 19 to true.


#3

bruce_wiseman, thanks for your quick reply.

I did, but I`m still getting the same error message.


#5

iam also getting same error message what did i do??


#6

I didn't do nothing. Just went to the next topic.