subject

What is wrong with this code? This is python by the way import random
count = 1
secret = random. randint(1,100)
guess = int(input("Try to guess the secret number."))
while guess != secret:
if guess secret:
guess = int(input("Too low. Try again."))
elif guess secret:
guess = int(input("Too high. Try again."))
count = count + 1
print("Congratulations! You’ve guessed the secret number. It took you", count, "times.")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
You know the right answer?
What is wrong with this code? This is python by the way import random
count = 1
secret...
Questions
question
Biology, 31.07.2020 03:01
question
Mathematics, 31.07.2020 03:01
question
Mathematics, 31.07.2020 03:01
question
Mathematics, 31.07.2020 03:01
question
Mathematics, 31.07.2020 03:01
Questions on the website: 13722359