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