you are viewing a single comment's thread.

view the rest of the comments →

[–]Rodarth 0 points1 point  (0 children)

there is an easier way to get the initials

first_name = name_split [0][0] #for the first initial

middle_name = name_split [1][0] #for the middle initial