Then they'd likely get sued because the license for the answers are CC-BY-SA, putting them in a book, claiming they wrote everything themselves, and selling them are all against the license.
On the other hand, if they read my answers and they wrote a book about what they learned (not copied). There'd be no issues
On the other hand, if they read my answers and they wrote a book about what they learned (not copied). There'd be no issues