import random
import time


def random_retard(min_=1, max_=10):
    """Sleeps for random time, in sec.

    Args:
        min_: Minimum sleep time
        max_: Maximum sleep time

    Returns:
        number of seconds actually slept

    """
    wait_sec = random.uniform(min_, max_)
    time.sleep(wait_sec)
    return wait_sec