how to remove all spaces from a string in 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! ;)