Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

CHALLENGE 16.7.1: Function stubs: Statistics ACTIVITY6. Define stubs for the fun

ID: 3906972 • Letter: C

Question

CHALLENGE 16.7.1: Function stubs: Statistics ACTIVITY6. Define stubs for the functions called by the program. Each stub should print "FIXME: Finish function_name) followed by a newline, and should return -1. Example output: FIXME: Finish get_user_num() FIXME: Finish get_user_num() FIXME: Finish compute_avg() Avg:-1 2 Your solution goes here 4 user_num1 5user_num2- 6 avg_result-e 8 user_numi -get_user_num(O 9 user_num2 get_user_num() 10 avg-result compute-avg(user numi, user-num2) = 12 print( Avg: ', avg_result)]

Explanation / Answer

# 2 functions that required for the program are below def get_user_num(): return eval(input()) def compute_avg(num1, num2): return (num1+num2)/2