How to Make Random Numbers in Python


In this example we will show how to make random numbers in Python.

Source Code

import random

print(random.random())

Output:

0.9106676907825529
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments