Question: PLEASE WRITE IT IN PYTHON Define stubs for the functions called by the program. Each stub should print FIXME: Finish function_name() followed by a newline,
PLEASE WRITE IT IN PYTHON
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 1 2 '" Your solution goes here ''' 3 4 user_num1 = 0 5 user_num2 = 0 6 avg_result = 0 7 8 user_num1 = get_user_num() 9 user_num2 = get_user_num() 10 avg_result = compute_avg(user_num1, user_num2) 11 12 print('Avg: ', avg_result)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
