13/15


#1

https://www.codecademy.com/courses/python-beginner-BxUFN/3/3?curriculum_id=4f89dab3d788890003000096#
I'm confused on what they want me to do here


#2

I literally just figured it out. If you're like me you are probably over thinking it!
All codeacademy wants you to do is enter "False" after the return i.e:
def black_knight():
if answer == "'Tis but a scratch!":
return True
else:
return False # Make sure this returns False

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

you do that it will clear you to the next problem, but of course it does not exactly explain what is going on, nor does it giver you a answer!

It's simple really when you break it down. The first line they give you is

answer = "'Tis but a scratch!"

from there you look at the how the If statements respond to that!

the IF statement reads as follows:
black_knight()
if the answer is "Tis but a scratch!" return True; else return False

french_soildier()
if the answer is "Go away, or I shall taunt you a second time!" return True; else return False

the answer of course is already stated as "Tis but a scratch"; therefore, you know that black_knight() should return True and french_soldier() returns False!

At the end of the code you must add
print black_knight()
print french_soldier()
to get the answer.in the box to the right.

I'm not the best teacher, but hopefully I was able to clear some things up for you! If you have any questions about what I meant please let me know, I can confuse my self sometimes...