The Big If issue


#1

def the_flying_circus():
if 4 != 4 and 3**2 >= 3:
return True
# the code inside this block!
elif the_flying_circus() > 7 and True == True:
return False

    else:
     return True
    the_flying_circus():

The error:

File "python", line 5
elif the_flying_circus() > 7 and True == True:
^
IndentationError: unindent does not match any outer indentation level

Can I get any help. Ive been stuck forever. I feel I have exhausted all options. Any help appreciated!


#2

File "python", line 5
elif the_flying_circus() > 7 and True == True:
^
IndentationError: unindent does not match any outer indentation level

Though you didn't post properly here,what i see the error..
what does this error mean???? did you try to think?

Python uses indentation to define blocks. i think you should check these lesson again
link1 and link2

now this line
elif the_flying_circus()and True == True:

what are you trying to do by checking the_flying_circus()>7?

what is the_flying_circus() ???what is the value of this? did you try to think?


#3

Do you have to sound so condescending? Whoops, maybe I should try thinking next time! Sorry im not good at coding.


#4

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