 # 15/15 the big if

can anyone give me few examples that work so i can learn from them, and make my own cuz i’m really struggle on this one

def the_flying_circus():
if 1 < 100:
return True
elif True and False != True:
return True

``````else:
return False``````

Hi Guys,

Remember that the spaces need to be correct, as python counts them too. Here’s my answer, That Past!

def the_flying_circus():
if 1 < 100:
return True
elif True and False != True:
return True
else:
return False

2 Likes

I do not understand why
elif True and False!= True
return True

True and False equals to False and if False is not True, then it is true. Am I understanding it correctly?
Why is this step necessary? You already mentioned above that if 1<100, then True.

I just don’t get why there are two conditions for True?

2 Likes

Inténtalo así:
def the_flying_circus():
if 8 < 9: # Empezá a programar acá.
return True
elif (70 != 60) or True:
return True
else:
return False

Thanks, that solved my problem too. So the it need a “self-righteous” function which doesn’t require any inputs.

True and False != True
False != True

It’s indeed true, false is not true

also true it’s very confusing

return True
return False
else:
return True
the_flying_circus () return True

i dont understand what is the problem can anyone help me out

who can help check my answer? I don`t know what`s my fault,thanks very much.

# Make sure that the_flying_circus() returns True

def the_flying_circus():
if 2 > 3: # Start coding here!
return True
# the code inside this block!
elif ( 3 > 4 ) and ( 4 > 5 ):
return True
else:
return False

ayy m8 ur code dont work. fix up ygm.

def the_flying_circus():
if 1 < 100:
return True
elif True and False != True:
return True
else:
return False