I cant get this for the life of me, I dont understand what im doing wrong, help?
def main():
<...
Computers and Technology, 30.08.2020 15:01 dbanks701
I cant get this for the life of me, I dont understand what im doing wrong, help?
def main():
numGuesses = 0
userGuess = 15
secretNum = 5
name = input("Hello! What is your name?")
userGuess = print ("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.")
if (userGuess = secretNum):
print9"Congrats! you are correct.")
main()
Answers: 2
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
Mathematics, 19.07.2019 02:00
Mathematics, 19.07.2019 02:00
History, 19.07.2019 02:00
Mathematics, 19.07.2019 02:00
History, 19.07.2019 02:00
History, 19.07.2019 02:00
Chemistry, 19.07.2019 02:00
Biology, 19.07.2019 02:00
Mathematics, 19.07.2019 02:00
Mathematics, 19.07.2019 02:00