Conditionals and Control Flow


#1



It's not correct someone help me.


Replace this line with your code. 
def the_flying_circus():
    if the_flying_circus():
        print "This is really true"   # Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif the_flying_circus():
        print " That is true " or "That is correct"
        # Keep going here.
        # You'll want to add the else statement, too!
        else:
            print " None of the above "


#2

If- elif- else- statements are made to check something. As an example

if size_of_duck > 100:
      print "You got a Huuuge duck."
#The example checks if size of your duck is over 100 and gives an output.

So why are you checking nothing? Just writing the_flying_circus inside your if statements has no matter, because of the_flying_sircus has no value. You could better check if 1 > 0 or 10 < 100, or anything else you want! I really hope that you got it, because of this is one of the most important lessons.


#3

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