Eliminar el espacio duplicado en la cadena en pytoon
>>> import re
>>> re.sub(' +', ' ', 'The quick brown fox')
'The quick brown fox'
Fragile Flamingo
>>> import re
>>> re.sub(' +', ' ', 'The quick brown fox')
'The quick brown fox'