Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Our platform offers a seamless experience for finding reliable answers from a network of experienced professionals. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

write a function shortestword that accepts a sentence as an argument. the function should return the shortest word in the sentence. if there is a tie, return the word that appears later in the sentence.