Skip to content

Latest commit

 

History

History
36 lines (18 loc) · 381 Bytes

Remove_String_Spaces.md

File metadata and controls

36 lines (18 loc) · 381 Bytes

CodeWars Python Solutions


Remove String Spaces

Simple, remove the spaces from the string, then return the resultant string.


Given Code

def no_space(x):
    #your code here

Solution

def no_space(x):
    return x.replace(" ", "")

See on CodeWars.com