Simple, remove the spaces from the string, then return the resultant string.
def no_space(x):
#your code here
def no_space(x):
return x.replace(" ", "")
Simple, remove the spaces from the string, then return the resultant string.
def no_space(x):
#your code here
def no_space(x):
return x.replace(" ", "")