user
Write a function to print out the first letter of each word in a sentence
Welcome to the world.


assistant
def first_letter(sentence):
   words = sentence.split(" ") 
   for word in words:
      print(word[0], end="")
   print()

first_letter("Welcome to the world.")

# Output
Wttw.