Video Coming Soon...
21: Functions Can Return Something
You have been using the =
character to name variables and set them to numbers or strings. We're now going to blow your mind again by showing you how to use =
and a new Python word return
to set variables to be a value from a function. There will be one thing to pay close attention to, but first type this in:
Register for Learn Python the Hard Way, 5th Edition (2023-2024)
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.