words 'ant baboon badger bat bear beaver camel cat clam cobra cougar coyote crow deer dog donkey duck eagle ferret fox frog goat goose hawk lion lizard llama mole monkey moose mouse mule newt otter owl panda parrot pigeon python rabbit ram rat raven rhino salmon seal shark sheep skunk sloth snake spider stork swan tiger toad trout turkey turtle weasel whale wolf wombat zebrasplit( def getrandomword(wordlist) this function returns random string from the passed list of strings wordindex random randint( len(wordlist return wordlist[wordindex def displayboard(hangmanpicsmissedletterscorrectletterssecretword) print(hangmanpics[len(missedletters)] print( print('missed letters:'end=' for letter in missedletters print(letterend=' print( blanks '_len(secretword for in range(len(secretword))replace blanks with correctly guessed letters if secretword[iin correctletters blanks blanks[:isecretword[iblanks[ + : for letter in blanksshow the secret word with spaces in between each letter print(letterend=' print( def getguess(alreadyguessed) returns the letter the player entered this function makes sure the player entered single letterand not something else while true print('guess letter ' guess input( guess guess lower( if len(guess! print('please enter single letter ' elif guess in alreadyguessed print('you have already guessed that letter choose again ' elif guess not in 'abcdefghijklmnopqrstuvwxyz' print('please enter letter 'post questions to