The Big If


#1

# Make sure that the_flying_circus() returns True
def the_flying_circus():
if John == peat: # Start coding here!
return "yeah"
elif 5>1:
return "friends got none "
else 30000000000000000000==3:
return "memememeememememmeme"

The Big If


#2

For a function that is supposed to return True we don't see any such return statements. Are you sure you read the instructions correctly?


#3

so... why isn't it right still?
def the_flying_circus():
if (14>13) and (5>=5):
print True
elif (43<4):
print False
else:
print True


#4

The instructions ask us to return True. How we do it is entirely up to us.


#5

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