<AptiCode/>

Question 420: What is the purpose of thereturnstatement in a function?

tcs
wipro
infosys
general
aptitude
functions
python-programming

Thereturnstatement is used to exit a function and return a value to the caller.