It may be an image that is on the internet, without a caption visually impaired will not understand
Answer
To keep your privacy away from bad people, to keep your self safe whilst on the internet. Also if you could link the answer choices it would help greatly!
Explanation:
import random
to_guess = random.randint(1, 1000)
count = 0
guess = 0
while guess != to_guess:
guess = int(input("Guess a number between 1 and 1000? "))
while guess < 1 or guess > 1000:
guess = int(input("Whoops, guess a number between 1 and 1000? "))
count += 1
if guess > to_guess:
print("Your guess is too high! Try a lower number.")
elif guess < to_guess:
print("Your guess is too low!. Try a higher number.")
print("You got it! The number is " + str(to_guess)+" and you got it in " + str(count) + " guesses!")
I hope this helps!
Answer:
The scheduling process in the system is done by using the long-term scheduler and short-time scheduler. The long term scheduler are those which select the work from the job queue and the job selection is not very frequent.
Short-term scheduler is the scheduler that select the work from the ready queue and allocates it to the CPU(Central processing unit).It works by picking the work at quick frequency .So, it is not possible for the short-term schedulers to handle the job because of the different frequency of work.