import random

#To calculate probability:
probability = random.random()
print probability

#To create random number between an interval:
random_integer = random.randint(0, 120) #0=min value, 120=max value
print random_integer

random_float = random.uniform(0,120)
print random_float