To model how long Amir will wait for a back-up using a continuous uniform distribution, save his lowest possible wait time as min_time and his longest possible wait time as max_time. Remember that back-ups happen every 30 minutes.
def wait_time(min_time, max_time): return np.random.uniform(min_time, max_time) wait_time(1, 30)