import random


def get_wait_interval(start, stop) -> float:
    """ Function to choose a random number between start and stop. """
    interval = stop - start

    random_shift = random.random() * interval

    return start + random_shift