Hi everybody. I completed this portion, but I am still having trouble understanding what is happening with this code (I want to try to understand the processes associated with this.
This is the code.
1. def one_good_turn(n): return n + 1 2. def deserves_another(n): return one_good_turn(n) + 2
So from what I understand, the following is happening.
We defined a function.
We defined a second function.
In this second function, we have a call. This second function activates the first function and inputs its result into it.
Does this sound correct or am I missing something?