+ 1

How to remove spaces from a sentence by programming ....?

example: input= hello friends how are you. output=hellofriendshowareyou

12th Jun 2018, 5:53 AM
Dipesh Kumar
Dipesh Kumar - avatar
5 Respuestas
+ 2
Please write more specifically your question so that others can understand your question.
12th Jun 2018, 5:56 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
If you want to remove all spaces, use str.replace(): sentence = ' hello my fellow bro' sentence.replace(" ", "") >>> 'hellomyfellowbro'
12th Jun 2018, 6:38 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
in any language....!
12th Jun 2018, 6:21 AM
Dipesh Kumar
Dipesh Kumar - avatar