Key Features

Experienced Teachers
Smart Classes
Regular Test
Study Material

Well qualified teachers with industrial experience.

To visualise or understand topics very easly.

We are organizing online and offline regular test.

We are providing prescribed study material.

Thursday, October 15, 2020

Python Program : To Generate a Random Number

Question : Python Program : To Generate a Random Number

PROGRAM

# Program to generate a random number between 0 and 9

# importing the random module
import random

print(random.randint(0,9))


OUTPUT

5



Thank you very much for reading carefully, if you have any other questions, you can share it with us through comments, if this information was important to you, please let us knows through comments.

Please do comment and share.
Thank You.

No comments:

Post a Comment