cara menghapus semua spasi dari string di python
string = "Hello, world! Some more text here..." # Just a string
string.replace(" ", "") # Replaces all instances of " " (spaces)with "" (nothing)
# string is now "Hello,World!Somemoretexthere..."
# I hope I helped you! ;)
The Angriest Crusader