Your teacher was right: Grammar and punctuation do matter. Just ask the panda.