Hapus karakter ruang dari string di python
>>> " hello apple ".replace(" ", "")
'helloapple'
Tan MH
>>> " hello apple ".replace(" ", "")
'helloapple'