#!/usr/bin/python
import random
# First random number
print "random() : ", random.random()
# Second random number
print "random() : ", random.random()In this program I will show the usage of random() method in Python.
In this program I will show the usage of random() method in Python.
#!/usr/bin/python
import random
# First random number
print "random() : ", random.random()
# Second random number
print "random() : ", random.random()