week-5 #6

Merged
Kenwood merged 12 commits from week-5 into master 2021-02-08 00:20:27 -05:00
1 changed files with 22 additions and 0 deletions
Showing only changes of commit 49f7781e86 - Show all commits

22
5/5.6/5.6.1/main.py Normal file
View File

@ -0,0 +1,22 @@
def get_user_num():
# This is bad practice, you should use python ABC or raise NotImplementedError instead.
print('FIXME: Finish get_user_num()')
return -1
#raise NotImplementedError
def compute_avg(user_num1, user_num2):
# This is bad practice, you should use python ABC or raise NotImplementedError instead.
print('FIXME: Finish compute_avg()')
return -1
#raise NotImplementedError
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)