import random


def get_random(attr_range):
    """Get a random value in the specified range.

    Args:
        attr_range: A 2d List specifying the beginning and the end of the range.
    Returns:
        A random float between attr_range[0] and attr_range[1]
    """
    return random.random() * (attr_range[1]-attr_range[0]) + attr_range[0]