Big IF


#1

I'm realy lost. It seams that i don't learn nothing.

my code:

def the_flying_circus():
    if 5-0 == 5 and 3 != 5:    
        print "true" 
    elif 6 < 4 and 5 != 4 + 1:
      return False.
        print "false"
        else:
    return True

Message:
File "python", line 10
print "false"
^
IndentationError: unexpected indent


#2

@courseblaster18030,
Read about the indentation
https://en.wikipedia.org/wiki/Python_(programming_language)#Indentation


#3

you put an extra indent on else:
also you should take the "" of of true


#5

I fixed it. Indentation needed to be corrected and 'print' needed to be changed to 'return'. You need to replace my .... with spaces as all the indentations are taken out when posting on forum.

def the_flying_circus():
....if 5-0 == 5 and 3 != 5:
........return True
....elif 6 < 4 and 5 != 4 + 1:
........return False
....else:
........return True