This simple function steps through the data (which is assumed to be a Python container holding numerical data), calculates ...