Create a function that takes a list of words and transforms it into a list of each word's length.
word_lengths(["hello", "world"]) ➞ [5, 5]
word_lengths(["Halloween", "Thanksgiving", "Christmas"]) ➞ [9, 12, 9]
word_lengths(["She", "sells", "seashells", "down", "by", "the", "seashore"]) ➞ [3, 5, 9, 4, 2, 3, 8]