Intermediate
Python
Q55 / 101
What is monkey patching?
Correct! Well done.
Incorrect.
The correct answer is B) Dynamically replacing or adding attributes or methods at runtime
B
Correct Answer
Dynamically replacing or adding attributes or methods at runtime
Explanation
Monkey patching modifies classes or modules at runtime (e.g., in tests). It's powerful but can make code hard to understand and maintain.
Progress
55/101