def calculate_weight_per_week(data) -> float:
    """Reads a list that stores a week's worth of data to calculate and return average weight per week"""

    total = 0
    day = len(data)

    for index, weight in enumerate(data):
        total += weight[2]

    return total / day