#15 Getting invalid syntax and don't know why


#1

def the_flying_circus(answer):
if answer <20 or answer >30: # Start coding here!
print "You are not close"
# the code inside this block!
elif answer >=20 or <=24:
print "You are a little low"
elif answer <=30 or >=26:
print "You are a little high"
else:
print "You are just right!"


#2

Hi @jgoldsmith is missing a return and also donĀ“t forget the indentation. Try this

  def the_flying_circus(answer):
    if answer <20 or answer >30: # Start coding here!
        print "You are not close"
    elif answer >=20 or <=24:
        print "You are a little low"
    elif answer <=30 or >=26: 
        print "You are a little high"
    else: 
        print "You are just right!"
        return True