Deviopath › Python

Initials from a Name

Easy · Strings

text.split() with no arguments splits on any run of spaces and ignores spaces at the ends. word[0] is the first character and .upper() makes it a capital letter.

Write a function initials(full_name) that returns the first letter of every word, in uppercase, joined together.

Next: Capitalize Each Word