Computers and Technology
Computers and Technology, 10.12.2021 21:00, Hali07

I need help desperatley with 10.1.2 codehs guess the word. here is my code...
def get_guess():
while True:
guess = input("Guess: ")
if isinstance(guess, int):
print("Your guess must be a lower case letter!")
else:
if guess. islower():
if len(guess) == 1:
return guess
else:
print("Your guess must have exactly one character!")
secret_word = "handrew"
while True:
guess = get_guess()
if guess in secret_word:
print("That letter is in the secret word!")
print(guess)
else:
print("That letter is not in the secret word!")

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 11:00, jaygamer37
What is the name of the sound effect that danny hears
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, med69
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a. an advanced knowledge of physics and math b. an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
image
Computers and Technology, 24.06.2019 02:30, talia43
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer. assume further an array of 3 window elements named winarr, has been declared and initialized. write a sequence of statements that prints out the width of the widest window in the array.
Answers: 2
image
Computers and Technology, 24.06.2019 10:40, 29delphina
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
Do you know the correct answer?
I need help desperatley with 10.1.2 codehs guess the word. here is my code...
def get_guess(...

Questions in other subjects:

Konu
Mathematics, 10.02.2021 20:30
Konu
Biology, 10.02.2021 20:30
Konu
Mathematics, 10.02.2021 20:30