Hey guys, in this blog we will see a Python Program to Generate a Random Number using the random library of python.
# Python Program to Generate Random Numbers import random print(random.randint(0,10))
Both the numbers are inclusive in the range. This means in the example above it can return 0 and 10 also.
Check out our other python programming examples…