how to check if the sum of 2 numbers is equal to a 3rd number in python code example Example: how to return the sum of two numbers python def add(a, b): return a + b