Big if


#1



https://www.codecademy.com/courses/python-beginner-BxUFN/4/1?curriculum_id=4f89dab3d788890003000096


# Make sure that the_flying_circus() returns True
def the_flying_circus():
    a = input ("what is your age?")
    if a < 18 and a != 18: 
        print "sorry! you can not get in"
        # Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif a > 18:
        print "welcome!"
        else 
        print "error"


#2

Hi the instruction says..

4 . Finally, the_flying_circus() must return True when evaluated.
so instead of console.log() inside your function you should put return statements which return True or False.

and the else statement isn't indent well... change the input() with raw_input(). then call your function to see if it works


#3

Thank you very much! it worked slight_smile: