Answer: law of effect
The law of effect is a psychological principle about behavioral conditioning which states that responses that produce
a pleasant effect in a certain situation, become more likely to be repeated in that situation. On the other hand, responses that produce a
discomforting effect become less likely to be repeated.