Question: 
Write a function to remove all the words with k length in the given string.


Model's Code:
def remove_length(s, k):
    return ' '.join(word for word in s.split() if len(word) != k)



Sample Correct Code:
def remove_length(test_str, K):
  temp = test_str.split()
  res = [ele for ele in temp if len(ele) != K]
  res = ' '.join(res)
  return (res) 


Asserts:
assert remove_length('The person is most value tet', 3) == 'person is most value'
assert remove_length('If you told me about this ok', 4) == 'If you me about ok'
assert remove_length('Forces of darkeness is come into the play', 4) == 'Forces of darkeness is the'


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

Test 772 of 974: 584/772 (75.64766839378238%): success