3 Comments
User's avatar
Pratik Dave's avatar

Ardit, point 4 - option number 2 seems to be the wrong statement as the code prints 200 based on args/params provide when function is called with variable 'result'.

Expand full comment
Ardit Sulce's avatar

Hey Pratik, not really. The code prints out 200 but the value of "result" will not be 200 because the function does not return anything since it doesn't have a "return" statement. When there is no "return" in a function, "None" is returned by default. Therefore, alternative 3 is the correct choice. Value of result is None.

Expand full comment
Pratik Dave's avatar

got it, thanks

Expand full comment