Create a Python program to edit a given string by removing all space characters.
def remove_spaces(string): 
	return "".join(string.split()) 

# Driver code 
string = "this is a sample sentence"
print(remove_spaces(string))