# Something is wrong -the logic looks correct

#1

Oops, try again. Make sure you have a value for all 5 variables! is the error I am getting. I count 5 variables

# Make me true!

bool_one = 3 < 5 # We already did this one for you!

if 8 > 9:
booltwo = False

if 969 >= 600:
boolthree = True

if 68 < 67:
boolfour = False

# Make me true!

if 100 <= 100:
boolfive = True

#2

What is wrong? I don't see it. I count 5 variables being addressed?

#3

You typed the names wrong.
You have to type bool_one, bool_two, bool_three, bool_four and bool_five, like the instructions tell you.

#4

I did that on purpose. It error out trying to save the first time.

#5

don't think it wanted me to post the actual code

#6

Go on and try it this way, it should work fine. I passed the lesson that way.

#7

# Make me true!

bool_one = 3 < 5 # We already did this one for you!

if 8 > 9:
bool_two = False

# Make me true!

if 969 >= 600:
bool_three = True

# Make me false!

if 68 < 67:
bool_four = False

# Make me true!

if 100 <= 100:
bool_five = True

OK I will try and post the real code, but still get that error. Oops, try again. Make sure you have a value for all 5 variables!

#8

I did this, and passed...

``````# Assign True or False as appropriate on the lines below!

# Set this to True if 17 < 328 or to False if it is not.
bool_one = True   # We did this one for you!

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

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

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

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

#9

Ok thanks I will try. Its so simple though. Looks like you are just assigning the True or False statement to the variable rather than actually testing any T & F logic

#10

Sorry, gave you the wrong code of the wrong lesson. You are on 4. right?

# Create comparative statements as appropriate on the lines below!

``````# Make me true!
bool_one = 3 < 5  # We already did this one for you!

# Make me false!
bool_two = 1 == 2

# Make me true!
bool_three = 1 == 1

# Make me false!
bool_four = 1 != 1

# Make me true!
bool_five = 0 == 0``````

#11

It says 4 at the bottom of the screen

#12

I now know what the issue of your code is, let's leave my code aside.

What you actually ask is, if 8 is greater 9, which isn't True, so it won't enter this if statement. That's why your code won't work.

I'm really sorry for not noticing it before and pasting my codes instead of analyzing your code correctly

#13

Ok thanks so the If Statement needs to be removed. Previously I also had an else statement to finish it out.

#14

Yes, better leave the if-statements out, or make them all True. As long as the booleans have the correct value, it should work.

#15

Ok thanks. Its so simple it seems but so frustrating. The logic I had should have worked even though I had entered and if statement and in other versions followed by a else.

# Make me true!

bool_one = 3 < 5 # We already did this one for you!

bool_two = 1 > 2

# Make me true!

bool_three = 1 == 1

# Make me false!

bool_four = 1 != 1

# Make me true!

bool_five = 0 == 0

I tried this and it worked