+ 1
How to remove spaces from a sentence by programming ....?
example: input= hello friends how are you. output=hellofriendshowareyou
5 Antworten
+ 2
Please write more specifically your question so that others can understand your question.
+ 1
If you want to remove all spaces, use str.replace():
sentence = ' hello my fellow bro' sentence.replace(" ", "")
>>> 'hellomyfellowbro'
0
in any language....!