Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

initials of name

# takes name(name and sirname) and return initals 
def abbrevName(name):
    return '.'.join(w[0] for w in name.split()).upper()
Comment

initials of name

def abbrev_name(name):
    s1 , s2 = name.split(" ")
    s3 = s1[:1],s2[:1]
    return '.'.join(s3).upper()
Comment

PREVIOUS NEXT
Code Example
Python :: receive ouput subprocess call 
Python :: flask base __init__.py file 
Python :: pythoon 
Python :: osrm python 
Python :: ytdl python check video length 
Python :: comment on inclut date et heure en python svp 
Python :: spearman correlation seaborn 
Python :: python pytest use same tests for multiple modules 
Python :: django Mixed Content: The page at ' was loaded over HTTPS, but requested an insecure resource swagger 
Python :: python how to make item assignemnt class 
Python :: expand array to a certain size python 
Python :: py3-env.bat 
Python :: channel unlock command in discord.py 
Python :: howmanydays python 
Python :: python how to be able to use any python file you made on all projects 
Python :: circular reference detected python repl.it 
Python :: add label on choropleth map python 
Python :: django drf endpoint without model 
Python :: how to keep old content when using write in python 
Python :: python tkinter window size 
Python :: Print Odd Even Negative Integer Count 
Python :: arma-garch python 
Python :: spooling in os 
Python :: if list is null python apply any function site:stackoverflow.com 
Python :: equivalent of case_when in r in pandas 
Python :: fibonacci using function in python 
Python :: how to store svgs in django image field with SVGAndImageFormField 
Python :: Get text content dynamo civil 3d 
Python :: priting matrix using np truncating the output 
Python :: mechanize python #11 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =