The Big If: What am I missing?


#1

Return value NONE, did you forget to add a return statement? Is the error I'm getting.


# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 1 == 1 and 2 > 1:    # Start coding here!
        Return= True
        
    elif 4 != 5 or 5 < 6:
        Return= True
    else:    
        Return= True


#2

Hi @megasurfer29122 ,

This might be a good opportunity to review return statements.

See Functions 6. Practice Makes Perfect for examples.


#3

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