Ad

Create a Python program that takes a list of words as input and returns the longest word(s) from the list. Your program should ignore punctuation and consider letters only. If there are multiple words with the same maximum length, return all of them.

longest_words(["Hello", "world", "Coding", "is", "fun!"]) 
# Output: ["Hello", "world", "Coding"]

longest_words(["Python", "Java", "C++", "JavaScript"]) 
# Output: ["Python", "JavaScript"]