human
write a python snippet that compacts whitespace to either a single space, or a single newline (if the whitespace contains newlines)
gpt
--- Reasoning ---
1. Is the question multiple-choice question?
No
2. Is it implied multiple-choice question?
No
3. If two experts were independently asked the question, will the final answer be exactly the same?
No

--- Answer ---
open