Sampled answers differ in capitalization, punctuation and spacing even when they mean the same thing. Normalizing them first lets the vote count equivalent answers together.
Implement normalize_answer(s), returning a canonical lowercase form without punctuation.
Lowercase and strip, remove everything except letters, digits and spaces, then collapse runs of spaces.
No results yet
Run your code to check it against the examples, or submit to run every test.