Jak usunąć wszystkie przestrzenie ze sznurka w Pythonie
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