Grand finale in conditionals & control flow


#1



def the_flying_circus():
    if 100 == 100:
        print "True"# Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif 100 +20 and 10 == 200:
        print "False"
    else: 
        print" no"
        what is my problem. pls help.


#2

from the instructions:
Finally, the_flying_circus() must return True when evaluated.

I don't see a return keyword anywhere


#3

Yes. replace all your print with return. Put your booleans by themselves not in strings and for the last else: return which one is true either False or True not a string.


#5

Hi - I just went through it. It was mean. My final tip to you is that "True" should not have quotations. I had all other issues just like you. Thanks for sharing!


#6

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