Initials from a full name

Easysplitjoinupper· 10 XP

The app shows a small badge with each user's initials when they haven't uploaded a photo.

Write a function initials(full_name) that returns the first letter of every word, in upper case, each followed by a dot. Extra spaces between or around words shouldn't matter.

How it's checked

Your code runs, then the check below runs and its printed output is compared with ours.

  • initials("ana maria lee") returns "A.M.L."
def initials(full_name):
    ...