subject

Pls answer this fellow coders i need it so bad # 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 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

fill in the missing code

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Who introduced the concept of combining artificial and natural light in the studio
Answers: 1
question
Computers and Technology, 25.06.2019 23:00
7- quick check verbs in the active and passive voice microsoft word answers 1-4
Answers: 1
question
Computers and Technology, 26.06.2019 06:00
Purchase price is not the only factor that determines the real cost of a telecommunications technology. true/false
Answers: 1
You know the right answer?
Pls answer this fellow coders i need it so bad # Heading (name, date, and short description) feel f...
Questions
question
English, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01
question
Spanish, 22.10.2020 01:01
question
Biology, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01
question
Medicine, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01