About return


Why didn’t we need to use “return” on this occasion?

FAQ: Learn Python: Functions - Parameters and Arguments

does this occasion refer to something specific? If its an exercise, please share exercise url

the most important thing is to understand what return does.


Thank you for your answer!
It refers to this exercise: https://www.codecademy.com/courses/learn-python/lessons/functions/exercises/parameters-and-arguments?action=resume_content_item


Do you understand what return does?

What value would adding return have? If you need the result later on, return is certainly useful. But the exercise does not really focus on this


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.