how to get sum of three values in python code example Example: how to return the sum of two numbers python def add(a, b): return a + b