Correct any errors in capitalization or punctuation. Your answer should be a single sentence.

"You always know you've learned something well." Pam said "when you can teach it to somebody else".

"You always know you've learned something well," Pam said, "when you can teach it to somebody else."