Learn how to remove extra spaces from a string using regex, string splitting, a fixed point, and itertools.groupby.
itertools.groupby
Are monsters good at maths? Not really, unless you Count Dracula.