<prompt> Write a function to print out the first letter of each word in a sentenceWelcome to the world.  <response>: Here is a simple Python function that will print the first letter of each word in a given sentence:pythondef first_letterssentence: words sentence.split for word in words: printword0 test the function with the input sentencefirst_lettersWelcome to the world.This function will output:Wttw 