Monte Carlo Simulation, Project Cost Estimation.
deviations = [(x — mean) ** 2 for x in data] … # Variance … stdevp = (sum(deviations) / n)**0.5 … return stdevp sigma = int(round(stdevp([df['Total'][0],df['Total'][1],Avg]),0)) print("\033[1m The upper bound of σ is:", "${:,}".format(sigma)) The upper bound of σ is: $9,349 Note that I wrote a