def stepsDictToTimeList(stepsDict):
    """stepsDictToTimeList() takes a dict of steps [stepsDict] and
    returns a list of all the runtimes of completed steps in seconds.
    """
    cycleTimes = []
    for c in stepsDict:
        if stepsDict[c].complete:
            cycleTimes.append(stepsDict[c].elapsedTime)
    return cycleTimes