# How the Tables Have Turned - How Am I Stuck with T F?

#1

This is the Error: Oops, try again. Don't just use True or False! That's cheating!

``````And this is my code

# 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! True or (False and True)
bool_two = (3>4) or (4<3 and 5!=4)

# Make me true! True or (False and True)
bool_three = 3**2 == 9 or (3%1 >= 0 and 0 <= 0-5)

x = 5

# Make me false!
bool_four = x + 5 != 10 and x + 6 >= 0

# Make me true!
bool_five = x*x*x**(1/2) > 0 or not x**2 + 2*x + 1 < 0``````

Pls, guys, help. I'm stuck. Why do I keep receiving that 'Don't just use True or False' error message while I'm not doing so?! Thanks!

#2

remove extra comment you wrote

``````# Make me false! True or (False and True) // remove **True or (False and True)**
bool_two = (3>4) or (4<3 and 5!=4)``````

and here

``````# Make me true! True or (False and True) // remove **True or (False and True)**
bool_three = 3**2 == 9 or (3%1 >= 0 and 0 <= 0-5)``````

Though it shouldn't be.dont worry your code is absolutely fine.

#3

My code works now
Thank you

#4

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