def calc_frequencies(rolls):
    """
       1) Create a list of length 11 named totals with all zeros in it
       2) Go through the rolls[][] list with a nested loop;
          add the number in rolls[row][col] to the appropriate entry in the
          totals list.
     """
    
    # Initialize a list of length 11 named totals
    totals = [0 for _ in range(11)]
    
    # Add the number in rolls[row][col] to the corresponding number 
    for row in range(6):
        for col in range(6):
            totals[row + col] += rolls[row][col]
    
    return totals