The big if


Hello, I dont really understand what Im doing wrong

def the_flying_circus():
if the_flying_circus() > 5 and the_flying_circus() < 7:
print "True"
return True
elif the_flying_circus() > 7 or the_flying_circus() < 5:
print "False"
return False
print "False"
return True

I have an error in line 5


Not sure if this is your main problem but you can't both print and return these values you need to just return instead. So get rid of your print statements and see what happens? If that still doesn't solve your problem reply back with your updated code and the error that it gives and I can paste it into my lesson and play around with it for a minute! :smiley:


I solved it yesterday, but thank you for your time


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