Problem in "if your having..."


#1

def using_control_once():
if 7 < ((8/32)/0.009) :
return "Success #1"

def using_control_again():
if "Chris Pratt" != "Jessica Alba":
return "Success #2"

print using_control_once()
print using_control_again()

the program says "Oops, try again.
Make sure your if statements evaluate to True!"

But they both are !


#2

def using_control_once():
    if 7 < ((8/32)/0.009) :
        return "Success #1"

This one doesn't evaluate to True. You should re-examine the condition on your if statement. Try using print statements to help.

For example, you could try statements such as these:

print 7 < ((8 / 32) / 0.009)
print (8 / 32) / 0.009
print 8 / 32

You should find that a very small adjustment will make your solution work properly. It has to do with how integers and floats interact with one another in mathematical expressions.