Skip to content

video not played or not found error
click on direct switch

Hosted by Dailymotion. For legal issues: Copyright Center · DMC · Instant Removal

Lecture 64: Return Keyword in Python Programming

N
Nafees AI Lab

17 Views • May 21, 2025

Description

The return keyword in Python serves to exit a function and optionally return a value to the caller. When a return statement is encountered within a function, the function's execution is immediately terminated, and the specified value is passed back to the part of the code that called the function. If no value is explicitly specified, return will return None by default.