Answers for "Please write a program to generate a list with 5 random numbers between 100 and 200 inclusive. Hints: Use random.sample() to generate a list of random values."

1

random number generator in python

import random

a = random.randint(0,10)
print(random.randint(0,a))
Posted by: Guest on January-12-2021

Code answers related to "Please write a program to generate a list with 5 random numbers between 100 and 200 inclusive. Hints: Use random.sample() to generate a list of random values."

Python Answers by Framework

Browse Popular Code Answers by Language