def correct_spacing(sentence):
	return ' '.join(sentence.split())
print(correct_spacing("The film   starts       at      midnight. "))
print(correct_spacing("The     waves were crashing  on the     shore.   "))
print(correct_spacing(" Always look on    the bright   side of  life.")) 
#Amazing response very nice python