A simple way to remove multiple spaces in a string in Python,""""""" """""".join(foo.split())"