Quiz 3 solution

I am not anle to understand this two codes. In both codes value is passed but in one 5 is taken and in another passed value is not take. I have attched image of both.

only 1 parameter is passed when temp(5) is called. 5 is assigned to a and since b value is not passed it takes the default value as 10(remember b=10 in method definition). so 5 * 10 ans is 50 returned. For further info u can google for default arguments in python. Hope i didn’t add more confusion.