Write a program to generate a list with 5 random numbers between 100 and 200 inclusive.


Topic: Write a program to generate a list with 5 random numbers between 100 and 200 inclusive.

Solution

import random
print(random.sample(range(100), 5))



List all Python Programs