Как удалить все пространства из струны в питоне
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