Skip to content

Instantly share code, notes, and snippets.

@Venkat-Swaraj
Venkat-Swaraj / Instructions.txt
Created May 7, 2022 09:55
sum guesser problem
program in the file Observe.py that prints 10 random integers (each random integer should have a value between 0 and 100, inclusive).
program uses a constant named NUM_RANDOM, which determines the number of random numbers to print (with a value of 10).
It also uses constants named MIN_RANDOM and MAX_RANDOM to determine the minimal and maximal values of the random numbers generated (with respective values 0 and 100).
To generate random numbers, you should use the function random.randint() from Python’s random library.
Here's a sample run of the program: