Help solving Python code

I am having trouble with this code. I do not know what I am doing wrong to get the error message. Even with the help that I’m getting

answer = “'Tis but a scratch!”

def black_knight():
if answer == “'Tis but a scratch!”:
return True
else:
return # Make sure this returns False

def french_soldier():
if answer == “Go away, or I shall taunt you a second time!”:
return True
else:
return # Make sure this returns False

Can you please format the code it’s really tough to debug the code like this. Please check this How to ask good questions (and get good answers)

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