The return statement sends a value back to the caller: python def add(a, b): return a + b total = add(3, 4) print(total) # 7 When Python hits return, the function stops immediately.
Any code after return won't run. The value after return becomes the function's output. You can use the returned value in expressions: print(add(1, 2) + add(3, 4)) prints .