In "The Number Devil," the best example of how characters communicate the author's purpose is:
The number devil telling Robert why he invented numbers reveals that the author's purpose for writing is to inform.
This statement highlights how the characters’ interactions provide insights into mathematical concepts, which aligns with the educational intent of the story.