Computers and Technology, 11.05.2021 18:40 kylediedrich1343
# Ben Rouse, Today's date is the 11th of March, 2021. This is a great way to finally be able to guess correctly because you get multiple attempts to guess my number.
def main():
# Initialize variables
numGuesses = 0
userGuess = -1
secretNum = 5
name = input("Hello! What is your name?")
# Sorry, that nummber is incorrect.
# This loop will need run until the player has guessed the secret number.
numGuesses = (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()
What am I doing wrong here?
Answers: 3
Computers and Technology, 22.06.2019 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
Computers and Technology, 24.06.2019 16:50
Ideally, the backrest is tilted back slightly, so when you turn the wheel your shoulders are the seat.
Answers: 2
Computers and Technology, 25.06.2019 07:00
Asap 50 points ( paragraph pls) discuss the role of the concept behind the "internet of things (iot)" in today's digitally connected society.
Answers: 2
Computers and Technology, 25.06.2019 10:00
One way news orginaztions can influence people is by: a.slanting information b.accepting all beliefs c.sharing a true perspective d.giving people money
Answers: 1
# Ben Rouse, Today's date is the 11th of March, 2021. This is a great way to finally be able to gues...
Computers and Technology, 16.07.2019 20:30
Health, 16.07.2019 20:30
Mathematics, 16.07.2019 20:30
Spanish, 16.07.2019 20:30
English, 16.07.2019 20:30
Mathematics, 16.07.2019 20:30
History, 16.07.2019 20:30
Mathematics, 16.07.2019 20:30