Computers and Technology, 22.03.2021 21:40, josephbig9
Define stubs for the functions get_user_num() and compute_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.
Sample output with two calls to get_user_num() and one call to compute_avg():
FIXME: Finish get_user_num()
FIXME: Finish get_user_num()
FIXME: Finish compute_avg()
Avg: -1
code to fill in:
''' 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)
Answers: 2
Computers and Technology, 22.06.2019 09:40, cutybrain6054
Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues
Answers: 1
Define stubs for the functions get_user_num() and compute_avg(). Each stub should print "FIXME: Fini...
Physics, 02.08.2019 12:40
Mathematics, 02.08.2019 12:40
English, 02.08.2019 12:40
Mathematics, 02.08.2019 12:40
Physics, 02.08.2019 12:40
Biology, 02.08.2019 12:40
Mathematics, 02.08.2019 12:40