Program to Generate the random number

In python programing. we can generate random number by importing a ‘random’ class.

How to

import random module
and then apply the syntax random.randint(a,b)

Program
import random
Print (random.ranint(100,500))

Leave a Reply