now you have evaluated this expressionwhat it does is let the player type in responselowercases the responsechecks if it begins with the letter ' 'then returns true if it does and false if it doesn' on side notethere' also an endswith(somestringstring method that will return true if the string ends with the string in somestring and false if it doesn' endswith(is sort of like the opposite of startswith(review of the hangman functions that' all the functions we are creating for this gamelet' review themgetrandomword(wordlistwill take list of strings passed to itand return one string from it that is how word is chosen for the player to guess displayboard(hangmanpicsmissedletterscorrectletterssecretwordwill show the current state of the boardincluding how much of the secret word the player has guessed so far and the wrong letters the player has guessed this function needs four parameters passed to work correctly hangmanpics is list of strings that hold the ascii art for each possible hangman board correctletters and missedletters are strings made up of the letters that the player has guessed that are in and not in the secret wordrespectively and secretword is the secret word the player is trying to guess this function has no return value getguess(alreadyguessedtakes string of letters the player has already guessed and will keep asking the player for letter that isn' in alreadyguessed this function returns the string of the valid letter the player guessed playagain(is function that asks if the player wants to play another round of hangman this function returns true if the player does and false if the player doesn' after the functions is the code for the main part of the program at line everything previous was just function definitions and large assignment statement for hangmanpics setting up the variables print(' ' missedletters ' correctletters ' secretword getrandomword(words gameisdone false post questions to