The Python return
statement is a key component of functions and methods. You can use the return
statement to make your functions send Python objects back to the caller code. These objects are known as the function’s return value. You can use them to perform further computation in your programs.
Using the return
statement effectively is a core skill if you want to code custom functions that are Pythonic and robust.
In this course, you’ll learn:
return
statement in your functionsreturn
statementsFor more information on defining your own functions, take a look at the following resources:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4