+ 1

Missing link for a space remove script - forgot how to cleanly join from list to str

https://code.sololearn.com/c94FIL6hH1z2/?ref=app

5th Dec 2019, 9:45 PM
ren[paused]
ren[paused] - avatar
5 odpowiedzi
+ 3
ren string = "ab c d e fgh i j kl mn opqr stuvwxyz" input_str = string x=input_str.replace(" ","") print(x)
5th Dec 2019, 9:59 PM
Petr
+ 2
Omg I'm such an idiot!!! Fantastic thanks much I'll try now and maybe some others
5th Dec 2019, 10:12 PM
ren[paused]
ren[paused] - avatar
+ 2
ren Cool!
6th Dec 2019, 6:02 AM
Petr
+ 1
Hope it helps other newbies like me :)
6th Dec 2019, 2:35 PM
ren[paused]
ren[paused] - avatar
0
I added a couple of different ways also
6th Dec 2019, 1:05 AM
ren[paused]
ren[paused] - avatar