I cant get this for the life of me, I dont understand what im doing wrong, help?
def main():
<...
![subject](/tpl/images/cats/informatica.png)
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()
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 23:30, jamalchris9353
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:10, yangyang718
Rom also called main memory or system memoryis used to stor the essential parts of the operating while the computer is running / true or false
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 20:00, dh29229
Flappy golf 2: write down my code to get 10 free eggs! my code is: 2sn8dd if you do i’ll give brainliest to the first person. directions: go to the recruit tab on flappy golf 2 and type in my code. i’ll do the same to you if you give me your code: )
Answers: 1
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 01.12.2020 22:40
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 01.12.2020 22:40
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
English, 01.12.2020 22:40
![Konu](/tpl/images/cats/mkx.png)
Arts, 01.12.2020 22:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 01.12.2020 22:40
![Konu](/tpl/images/cats/biologiya.png)
Biology, 01.12.2020 22:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 01.12.2020 22:40