Post

@PythonPr Answer: D
Why!? The default value for the parameter b is a mutable object (a list). In Python, default arguments are evaluated only once when the function is defined, not each time the function is called.
When func(1) is called the first time, b refers to the original list [],
English

@PythonPr Parameter A is 1 , parameter B is 2, so first, and second is [1,2] answer is with this D
English




















