Skip to content

Strings · routine

Initials

Write initials(full_name) returning the first letter of each word, capitalised, each followed by a dot: "ada lovelace" gives "A.L.".

Run adds print(initials("ada lovelace")) after your code, to try it.

Stuck on the idea rather than the code? The Strings lesson walks through it.