IDNLearn.com: Your reliable source for finding expert answers. Whether it's a simple query or a complex problem, our experts have the answers you need.

Set up a python program


Use the randint function to generate 100 3-digit
random numbers and put them in a list.
Then write a guessing routine which keeps guessing
numbers until it guesses one of the numbers in the list.
Count how many guesses it takes.
A
Do not use prepacked functions such as index or find
and do not use the "in" operator. Write a sequential
search that uses a loop and comparison to search for
numbers.