Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

initials of name

def abbrev_name(name):
    s1 , s2 = name.split(" ")
    s3 = s1[:1],s2[:1]
    return '.'.join(s3).upper()
Source by www.codewars.com #
 
PREVIOUS NEXT
Tagged: #initials
ADD COMMENT
Topic
Name
9+9 =