Return a value to a caller in a function in Python

Use the keyword return…

def sum_two_numbers(a, b): 
    return a + b
Stackoverflow Solutions

Just started! Have not answered any questions.