def calculate_mean(some_list):
    """
    Function to calculate the mean of a dataset.
    Takes the list as an input and outputs the mean.
    """

    return (1.0 * sum(some_list) / len(some_list))