Generate a Random Number in Python

(Last Updated On: 04/11/2022)

Python Program to Generate a Random Number Between 0 and 100

# Python Program to generate a random number between 0 and 100

# Here we importing the random module to print the random numbers
import random

print("Random Number is :", random.randint(0,100))

Output:

Random Number is : 92

Leave a Reply

Your email address will not be published. Required fields are marked *