Creating a Game Answers

6 verified answers2 views
4

How do you check to see if the user entered more than one character? Complete the code.

A
guess
B
random
C
randomizer
D
guesser
5

You compared each letter in the correct word to the letter guessed. Assume the correct word is "cloud." Finish the code to compare the guessed letter to the "u" in "cloud."

A
guess
B
random
C
randomizer
D
guesser
6

In your guessing game, you replaced dashes in blanks when the user guessed a correct letter by using a string slice. Which line of code will replace the character with an index of n with the guessed letter?

A
blanks = blanks[:n] + letter + blanks[n+1:]
B
blanks = blanks(:n) + letter + blanks(n+1:)
C
blanks = blanks[n] + letter + blanks[n + ]
D
blanks = blanks(n) + letter + blanks(n+1)

Did you find these answers helpful?

Creating a Game Answers — SC-Fundamentals of…