The Big If


#1

Make sure that the_flying_circus() returns True

def the_flying_circus():
if (14 > 13) and (15 == 15): # Start coding here!
print True# Don't forget to indent
# the code inside this block!
elif (6 < 4):
print False # Keep going here.
else:
print True# You'll want to add the else statement, too!

Error is: Oops, try again. the_flying_circus() returned the value None, did you forget to add a return statement?

I've been struggling with this for a while. Can anyone help me out?


#2

And we won't struggle, given the way the post displays in your question? At least post it as a formatted code sample so we can see your indentation. Don't make us guess or go to a lot of extra work, when you won't.


#3

Hi,

Sorry its the first time I am using Code Academy and the Q&A forum.
Hopefully this photo upload helps.


#4

@cloudninja27159, just replace all the 'print' in your code there with 'return'.


#5

Thanks, that helps :smile: