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