def product(x): """prec: x is a numerical list postc: returns the product of the entries in x""" pass def sumPositives(x): """prec: x is a numerical list postc: returns the sum of the positive entries in the list""" pass def sumNegatives(x): """prec: x is a numerical list postc: returns the sum of the negativwe entries in the list""" pass def sumDigits(n): """prec: n is a nonnegative integer postc: returns the sum of the digits of n.""" pass def smallestFactor(n): """prec n is an integer n >= 2 postc: returns the smallest divisor of n that is at least 2. examples: smallestFactor(51) -> 3, smallestFactor(7) -> 7""" pass def sumOfSquaresOfDigits(n): """prec: n is a nonnegative number postc: return the sum of the squares of the digits of n examples sumOfSquaresOfDigits(14) -> 17 sumOfSquaresOfDigits(25) -> 29""" def grader(b): return "PASS" if b else "FALSE" ##main routine Test your code! x = [1,2,3,4,5] expected = 120 print(f"Case {x} for product: {grader(product(x)==expected)}") x = [] expected = 1 print(f"Case {x} for product: {grader(product(x)==expected)}")