A function builds the initials of a name, which has two spaces after its first word. Then the program splits a text on one space.
def initials(name):
out = ""
for word in name.split():
out += word[0].upper()
return out
print(initials("ada king lovelace"), len("ada king".split(" ")))
What happens when the program runs?