The big if problem


#1


the big if

def the_flying_circus():
if False:
return True
elif True == False:
return True
else:
return False


its showing indentation error


Replace this line with your code.


#2

its showing indentation error

You should properly indent your code.

like this example...

def example():
    if condition1:
        return something

Can you see spaces?
When a new block of code starts , you need to use 4 spaces to indent it.


#3

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