Question: Can anyone please help me with this? Define stubs for the functions get_user_num() and compte_avg(). Each stub should print FIXME: Finish function_name() followed by a

Can anyone please help me with this?

Define stubs for the functions get_user_num() and compte_avg(). Each stub should print "FIXME: Finish function_name()" followed by a newline, and should return -1. Each stub must also contain the function's parameters. Example output:

FIXME: Finish get_user_num() FIXME: Finish get_user_num() FIXME: Finish compute_avg() Avg: -1 

''' Your solution goes here '''

user_num1 = 0 user_num2 = 0 avg_result = 0

user_num1 = get_user_num() user_num2 = get_user_num() avg_result = compute_avg(user_num1, user_num2)

print('Avg:', avg_result)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!