return statement allows you to send any Python object from your custom functions back to the caller code. This statement is a fundamental part of any Python function or method. If you master how to use it, then you’ll be ready to code robust functions.
In this course, you’ve learned how to:
- Effectively use the Python
returnstatement in your functions
- Return single or multiple values from your functions to the caller code
- Apply best practices when using the
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Shubha on Oct. 13, 2021
Great Course! Learnt a lot. Thank you.