initiales de nom
def abbrev_name(name):
s1 , s2 = name.split(" ")
s3 = s1[:1],s2[:1]
return '.'.join(s3).upper()
Fancy Frog
def abbrev_name(name):
s1 , s2 = name.split(" ")
s3 = s1[:1],s2[:1]
return '.'.join(s3).upper()
# takes name(name and sirname) and return initals
def abbrevName(name):
return '.'.join(w[0] for w in name.split()).upper()