Question: who wrote the book for whom the bell tolls
Answer: For Whom the Bell Tolls is a novel by Ernest Hemingway published in 1940 .