definitializeName(name:str):name=name.split(" ")if(len(name)>=3):#loop from first name to last name.
foriinrange(1,len(name)-1):name[i]=name[i][0]+"."name=' '.join(name)returnname
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: Daily Challenge #38 - Middle Name
For further actions, you may consider blocking this person and/or reporting abuse