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 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
You know the right answer?
What is wrong with this code? This is python by the way import random
count = 1
secret...
Questions
question
Mathematics, 17.05.2021 04:10
question
English, 17.05.2021 04:10
question
Mathematics, 17.05.2021 04:10
question
Mathematics, 17.05.2021 04:10
Questions on the website: 13722363