Write a python function that returns True if the product of two provided numbers is even


Topic: Write a python function that returns True if the product of two provided numbers is even

Solution

def is_prod_even(num1, num2):
   prod = num1 * num2
   return not prod % 2



List all Python Programs