No mammals lay eggs. A platypus lays eggs. What follows?
The platypus IS a mammal that lays eggs, so the premise "no mammals lay eggs" is factually incorrect. In a logic test you would note the real-world exception.