DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+9 =
Submit