def clock_to_seconds_remaining(clock_str):
    """Translates a clock string to a number of seconds remaining"""
    minutes, seconds = clock_str.split(":")
    return float(minutes) * 60 + float(seconds)