15/15 the big if


#1

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


#2

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

else:
    return False

#3

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


#4

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?


#5

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


#6

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


#7

True and False != True
False != True

It's indeed true, false is not true

also true it's very confusing


#8

def the_flying_circus(answer):
if answer>=5 or answer==5 :
return True
elif answer<=10 and not answer<=11 :
return False
else:
return True
the_flying_circus () return True


#9

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


#10

who can help check my answer? I dont know whats 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


#11

ayy m8 ur code dont work. fix up ygm.


#13

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


#14