Usuń znaki przestrzenne ze sznurka w Pythonie

>>> "  hello  apple  ".replace(" ", "")
'helloapple'
Tan MH