Python exercise 17: convert number to english word

Question Write a function that accepts a positive integer between 0 and 999 inclusive and returns a string representation of that integer written in English. Example num_to_eng(0) ➞ "zero" num_to_eng(18) ➞ "eighteen" num_to_eng(126) ➞ "one hundred twenty six" num_to_eng(909) ➞ "nine hundred nine" My…

Python Exercise 14: sum of fractions

Question Create a function that takes a list containing nested lists as an argument. Each sublist has 2 elements. The first element is the numerator and the second element is the denominator. Return the sum of the fractions rounded to the nearest…