While Adam & Eve gained knowledge by eating an apple, eating a pear gave them math skills, which came in handy for building a cabin, a bedroom and dinette set.

Unfortunately, the talking snake did not mention the pineapple which would have opened their eyes to science.
Another Fun Fact from Mr. Science.

  👍