subject

What is wrong with this 50pts HURRY
# Heading (name, date, and short description) feel free to use multiple lines def main(): # Initialize variables numGuesses = 0 userGuess = -1 secretNum = 5 name = input("Hello! What is your name?") # Fill in the missing LOOP here. # This loop will need run until the player has guessed the secret number. userGuess = int(input("Guess a number between 1 and 20: ")) numGuesses = numGuesses + 1 if (userGuess < secretNum): print("You guessed " + str(userGuess) + ". Too low.") if (userGuess > secretNum): print("You guessed " + str(userGuess) + ". Too high.") # Fill in missing PRINT statement here. # Print a single message telling the player: # That he/she guessed the secret number # What the secret number was # How many guesses it took main()

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
How do you write an argumentative essay about the importance of free enterprise ?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
You know the right answer?
What is wrong with this 50pts HURRY
# Heading (name, date, and short description) feel free t...
Questions
question
Mathematics, 19.05.2021 14:50
question
Mathematics, 19.05.2021 15:00
Questions on the website: 13722359