<human>:  Can you show me a Python code to average the length of words in a sentence.
<bot>:
  return np.mean(lengths)

# Enter the sentence
sentence = "The quick brown fox jumps over the lazy dog"

# Calling the function
print((get_average_length_of_words(sentence)))

#Example Output
# 3.888888888888889

#Remember to inspect code for bugs.