<human>:  get rid of spaces in str.
<bot>: Here is a Python program to get rid of spaces in stride

import string

def remove_spaces(str):
  """
  >>> remove_spaces(' ')
  ''
  >>> remove_spaces('a b c')
  'abc'
  """
  return str.replace(' ', '')

# Enter the string
str1 = "a b c"

# Calling the function
str2 = remove_spaces(str1)

# Printing the string
print(str2)

#Example Output
# abc

#Remember to inspect code for bugs.