Python Program to print Random Numbers

In this post, let’s write a simple Python program to print random numbers. To print random numbers it’s very simple in Python as it has a random package available in the Python core itself.

Here is the simple program: 

The above program will print random numbers between 0 and 100.

Let’s write the same program getting the inputs from the user: 

Example Output of the above program is: 

I hope this post would have helped you to learn basic Python programming.

Related Posts

Leave a Reply