# # File: a02_stats.py # your name: # your email: # # # TO DO: write your functions here! def calc_sum(a, b, c, d, e): # TO DO: implement this function and return a value! # do not print! pass # remove this line # This section contains test cases, which will execute your functions # and print out the results. These tests are "protected" (by indentation) within # an if statement, which will prevent them from running on the Gradescope server. # You must write all of your test cases within this indented block. if __name__ == '__main__': # make sure all of your test cases are indented by 1 tab, following the example below. # declare several variables with which to test the functions a = 8 b = 9 c = 10 d = 9 e = 8 # We make a function call to the `calc_sum` function, # and assign the result into a variable called `sum_of_obs` sum_of_obs = calc_sum(a, b, c, d, e) # now we print out this variable print("The sum of observations is:", sum_of_obs) # TO DO: you need to call each of your other functions below, # and verify the results by printing them out ## DO NOT WRITE ANY TEST CASES IN THE GLOBAL SCOPE (i.e., at the left margin of the file).