About return


#1

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


FAQ: Learn Python: Functions - Parameters and Arguments
#2

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.


#3

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


#4

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


#5

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