Question: 
Write a python function to remove spaces from a given string.


Model's Code:
def remove_spaces(s):
    return s.replace(" ", "")



Sample Correct Code:
def remove_spaces(str1):
  str1 = str1.replace(' ','')
  return str1


Asserts:
assert remove_spaces("a b c") == "abc"
assert remove_spaces("1 2 3") == "123"
assert remove_spaces(" b c") == "bc"


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 678 of 974: 508/678 (74.92625368731564%): success