Stucked on else statment even when I use hint


#1

Can somebody tell me where I am wrong !!!!!


#2

Your indentation is WAY off. Here it is, fixed...

answer = "/'Tis but a scratch!"

def black_knight():
    if (answer=="/'Tis but a scratch!"):
        return True
    else:
        return False

def french_soldier():
    if (answer=="Go away, or I shall taunt you a second time!"):
        return True
    else:
        return False

#3

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