Write a Python program to sort a list of words in ascending order based on their length.
words = ["I", "am", "all", "ears"]
words = ["I", "am", "all", "ears"]

#sort the words by length
words.sort(key = len)

#print the sorted words
for word in words:
 print(word)

# Output
I
am
all
ears