input: Write a python function to calculate the length of each word in a sentence.
  assert calculate_word_lengths("The quick brown fox") == [3, 5, 5, 3]
  assert calculate_word_lengths("Hello world") == [5, 5]
  assert calculate_word_lengths("Python is awesome") == [6, 2, 7]
output: def calculate_word_lengths(sentence):
      return [len(word) for word in sentence.split()]