<human>:  function in to strip spaces.
<bot>: Here is a Python program to strip spaces

string = "hello world"

# Calling the function
print((strip(string)))

#Example Output
# hello world

#Remember to inspect code for bugs.