how to capitalize first letter in python
# To capitalize the first letter in a word or each word in a sentence use .title()
name = tejas naik
print(name.title()) # output = Tejas Naik
Log in, to leave a comment
4
2
def decapitalize(str):
return str[:1].lower() + str[1:]
print( decapitalize('Hello') ) # hello
Thank you!
2
0
4.2
5
singers = ['johnny rotten', 'eddie vedder', 'kurt kobain', 'chris cornell', 'micheal phillip jagger']
singers = [singer.capitalize() for singer in singers]
print(singers)
#instead of capitalize use title() to have each word start with capital letter
Thank you!
5
0
3.7
10
# Use title() to capitalize the first letter of each word in a string.
name = "elon musk"
print(name.title())
# Elon Musk
Thank you!
10
0
4.14
7
"hello world".title()
'Hello World'
>>> u"hello world".title()
u'Hello World'
Thank you!
7
0
4
2
>>> "hello world".title()
'Hello World'
>>> u"hello world".title()
u'Hello World'
Thank you!
2
0
Are there any code examples left?
New code examples in category Python
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Relative searches
capital the first letter and last letter of each word in sentence in python
check if a first char is lower or upper python
capitsalize first letters in text python
python capitalize first letter of string
how to make first letter capital after fullstop in python
how to convert first letter of each word to uppercase in python
python capitalize first letter in each word
python to upper first letter
python code to make caps the first character of a string
how to convert first letter of every word to capital in python
python first character upper
python only first letter uppercase
python lowercase all but first letter
python convert first letter to upper case
first character of string python uppercase
capitalize first words oython
python uppercase first letter of each word
convert first letter of each word to uppercase in python
is first char capital python
every first letter capital python loop
convert 1st letter to uppercase in python
the first letter capitalized python
can we use first capital letters for python variable
python make first letter uppercase and rest lowercase
Capitalize first letter of every word python using slicing
Capitalize first letter of every word python
make only first letter capital python
how to capitalize first letter in word in python
how to captailize the first word of string in python
how to convert first character of name to uppercase in python
string to first letter capital pytho
capitalize first letter in every word python
change only the first character to uppercase in python
python capitalize first letter of each sentence
python capitalize first letter of every word if its not starting with number
how to capitalize every first letter of an array python
How to make the first character of word to be uppercase in python
capitalize first letter of each word in string
capatalize first letter string python
str uppercase first letter python
how to make first letter of string capital in python
python string capitalize first letter of each word
first letter capitalized python
python first letter of string capital
how to capitalise the first letter of each word in python
first letter to uppercase python
convert first letter to uppercase python without capitalize or title
first character upper python
change to uppercase first character in python
python capitalize first letter in string
python class first letter uppercase
how to capitalize every first lettter in python
first letter upper case python
python string upper only first letter
capitalize the first letter of python
first character uppercase and other lowercase in python
convert string to first letter upllercase lrest lowercase python
in python to make first letter in a word capital
uppercase the first letter of every word of a string python
set first latter uppercase python
how to capatelize first letter in word python
turning first letter small in python
HOW TO LOWERCASE THE FIRST LETTER IN PYTHON
first letter is capital and other letter are small, which function I used for this in python
force first letter capital python
how to capitalize every first letter in python
convert first letter to lowercase in python
python capitalize first letter of word and lowercase the rest
python capitalize each word in string
make first letter capital python
how to capitalize the first letter of a string in python
Capatalising the first word in a string python
hw to capitalize the first letter of each word in a string
Write a program to capitalize the first letter of every word in a file Python
write a function capitalize the first letter of every word python
wirte a fuction capitalize the first letter of every word without using title() python
capitalize the first letter of every word without using title() python
capitalize the first letter of every word WITHOUT USING TILDE() python
python first letter of every word uppercase
Python program to capitalize the first letter of every word without title () pyhton
capitalize the first letter of every word WITHOUT USING tital() python
how to capitalize first letter of every word in a sentence
make every first letter in a string uppercase python
capitalise the first letter of each word python
python upcase first letter
python3 capitalize first letter
how to make the first letter of a string in a list uppercase python
check if the first letter in a string is lowercase python
python first letter uppercase name
capitalize first letter of each word in list python
python first letter lowercase
python first letter to lowercase
captialize first letter in string java
first letter of string in capital in pythom
python program to capitalize the first character of a string
python lowercase uppercase first letter
how to check if the first letter of a string is uppercase python
How to capitalize only the first letter of a sentense in Python
string capitalize first letter python
first letters capital ina alist python
python first character in string uppercase
python string make first character uppercase
python make the first letter uppercase
python first char uppercase
python auto capitalise first letter
make first letter to uppercase python
count capital letter at first in string python
capitalize the first letter of each word in a sentence
make string to lowercase case with first letter uppercase python
python check if first letter of word is capitalized
uppercase python first letter
hwo to change the first letter of a word to capital letter pythomn
How to convert the first letter of a strig to upper case in python?
how to capitalise the first letter in python
python capitalize first letter if not capital
how to make a word in python have only the first letter capital
capitalize the first letter of a word in python
python program to convert first letter uppercase in the sentense
how to make the first letter in a sentence capital in python
first character uppercase python
capitalize first list in python
capitilize first letter python
python first character of string uppercase
python cap first letter of string
how to convert first letter of string to uppercase in python
how to keep first word capital in python
capital first letter in python
python add capital letter to first character in string
python capitalize only first letter of string
capital letter start of every word with python
how to print string's first word in capital in python
python capitalize first letter of every word or underscore
change first letter to uppercase python
capiatlize first letter in list
first element should be capital in python
python string upper first character from string
python set first letter uppercase
turn first letter uppercase python
how to make first letter in word capital python
django capitalize first letter
python how to capitalize first letter of each word
how to make the first letter of every word capital in python
make first character uppercase in python
how to convert first character of string to uppercase in python
how to make the first letter capital in python?
python make 1st of a word capital
python methot to uppercase first letter
module to capitalize first letter of every word in python
module to capitalize first letter in python
first letter of class name is in lowercase python
first char to uppercase python
convert first character of string to uppercase python
python capitalize first letter after period
how to capitalize only the first letter of a sentence in python
word first later is capital in python
python capitalize first letter of word
write a program to capitalize first letter of every word in a file in python
uppercase only first letter python
python only first character uppercase
finction to Capitalize the first character of a string in python
how to change the first letter to uppercase in python
python capitalize only first letter of each word
capitalise 1st letter in python
capitalize first letter in a word python
python -*convert first letter to capital
capitalize first letter of each word in python
convert all lower case to first letter uppercase in python
how to capitalize only first letter in python
uppercase the first letter python
python capitalize first letter string list
uppercaase first letter python
first letter capital and lowercase for the rest in python
python change first letter to capital
function to convert the first character of each word to uppercase in python
upper first letter python
how to capitalise first letter of a string in python
capitalise the first letter in python
check first letter capital in python
first letter of each word capitalized python
first work capitalise in python
python capitalize every first letter
python first letter of string uppercase
python make first character lowercase
how to capitalize the first letter in python
write a function that capitalizes the first and fourth letters of a name in python
python string first letter uppercase
python first letter in string to capital
uppercase first letter of each word python
format string first letter uppercase python
capitalize only first letter python
how to make only first letter capital in python
how to capitalize first letter of every word in python
how to capitalize first letter in pythin
python remove capitalization of first letter
change first letter case python
how to capitalize the first letter of multiple words in a string in python without using title and capitalize
how to capitalize the first letter of multiple words in a string in python
how to capitalize first letter in python without using built in function
convert first letter of every word to upper case python
capitalize only first letter using regex in python
python capitalize only the first letter
python make first letter capital
capitalize the first letter of every word python
python lowercase first character
how to make 1st letter of every word capital in python
python function to capitalize first and third letter of a name
how to capitalize the first letter of two words in python
python function to capitalize first letter only
capitalize only first word python
howt to upper first letter in a string in python
python check islower check first letter
python first lower
which method is used to change first letter upper of string uppercase python'
how to capitalize all the first letter in a sentence in python
python convert first char in a string to uppercase
capitalize first letter of each element in list python
python convert first letter to uppercase
python first letter upper
to change the first character of the string in capital letter in python
how tomake first letter upper case in python
how to capitalizes first letter in python
python function tht sets the first letter upper
make first letter lowercase python
capitalize start of each word python
python function to upper case first letter
how to make first letter upper in python
how to capitalize first letter in two words in python
convert first letter of string to uppercase python
how to make a string have only it's first letter cappital python
capitalize first and second letter in python
capitalise first letter python
how to capitlis the first letter in the firsw word python
python lowercase except first letter
python string uppercase first
captilize first letter of string python
python to uppercase first letter
how to the first character uppercase python
how to capitalize first letter in string python
python first capital letter
how to capitalise first word in ppython
capitalize first letter in each word of string python
python check first letter is upper
python first letter is upper
how to capitlize the first letter in ever word in python
how to capitalize first letter in python expect and
capitalize first letter of each word in a list python
makr first word uppercase python
python upper case first letter
how to capitalize all first letters in python
how to convert first letter of a word to uppercase in python
python first letter to uppercase
first letter into uppercase in python
lowercase first letter python
python split string and capitalize first letter of each word
how to make caps in python the first letter
python cap first letter
python first word capital in list
python first word capital
upper first character python
find the first capital letter in a string python
first letter capital python
first letter is capitalized python
python string change first character to uppercase
lowercase except first letter python
how to get first letter captal in python
python make first char capital
capitalize first letter of each word of string
write a program which capitalizes the first letter of each word in a sentence python
python how to make first letter in string capital
How will you capitalizes first letter of string in python?
python upper first letter
python upper case first letter of each word list
python upper case first letter of each word
python uppercased first letter word
python make first character uppercase
capitalize first letter of words python
python first letter of each word uppercase
python caps first letter
how to lower case the first letter of sentence - python
how to make the first letter lowerin python
how to make the first letter uppercase in python
capitalize first letter of each word in a string
cwhat command capitalizes only the first letter of words in python
how to make the first letter of a string uppercase python\
how to make first letter capital in python
how to change first character of string to upper in python
python convert first letter of each word to uppercase
python capitalize the first letter
capitalize first letter of each word in a sentence python
make a words begin with a capital letter python
python capitalize first letter of sentence
how to capitalize first letter a list
how to find the first capital letter python
how to make first letter of each word capital in python
python string first character uppercase
python string capital first letter
python upper rest of string besides first letter
string capitalize first letter each word python
how to make the first letter capital in python 3
caps the first letter python
how to capitalise first and last letter of a name using python
capitalize first letter of each ket word dictionalrypython
capitalize first letter python
hoe to capatilise the first letter of the word using python
how to capitalize first letter in every word in python
first letter is capitalized in python
python capitalize first ans last letter of a string
python capitalize first character of string
python get upper case first letter from string
capitalize first letter python
make every letter capitalized in python
capitalise first letter of string python
capitalise first word python
capitalizes first letter python
python make first letter captial of str
python change first letter to uppercase
capitalize first letter in string python
python just capitalize first letter
python first letter capital
python print first letter uppercase
first capital python
python capitalize only first letter
How to make all words first letter capital in python
capitalize the first letter in python
capital first letter python
how to capitalize first letter of two word in python
lower first letter python
python function to capitalize first letter
make first letter capital in python
python capitalize first letter of every word without changing the rest
how to capitalize the first letter in a string python
how to captalize the first letter of each each word in python stirng
python capitalising first letter
python heck if first letter is uppercase
how to convert first letter uppercase python
capitalise the first letter of every word python
how to make the first letter and the last letter of a string capital pyton
how to check of the first letter is capital in python
convert in uppercase first letter of eatch word of string in python
function to capitalize first letter in python and lowercase rest
python format lowercase first character
python string capitalize first
make the first letter uppercase in python
how to capitalize first character character from a string in python
python change first letter to lowercase
capitalize first letter if each word in string in python
should python class first letter capitalize
python check if first letter capital
change first letter in string python to uppercase python
change first letter to uppercase in python
Create a function that takes in a string and returns its first character in upper case python
python capitalize first letter only
python string capitalize first letter
first letter uppercase python
how to make the first letter capital in python
how to uppercase the first letter of a string in python
python print characters with first character in uppercase
python check lowercase and upper first char
python capital first letter
capitalize first letter in python
first letter uppercase to lowercase python
python make first letter uppercase
capitalize beginning of sentence python
how to make our 1st letter capital in python
python command to capitalize every first letter
make the first letter capital in python
how to capitalize first letter in pytohn
capitalise each letter in python
python check first letter uppercase
capitalize first letter of each word python without using title
python str capitalize first letter
.upper python first letter
python string lowercase first letter
how to make each letter of word capital python
python first letter uppercase
first letter capital regular expression python
checking first letter of a word is capital python regular expresssion
checking first letter of a word is capital python
python string capitalize first letter only
python make first letter captial
capitalize first letter of every sentence python
python capitalize first letter specefic word in string
upper only first letter python
uppercase first character in python list
python capitalize first letter of every word
change first letter to capital in python
python capitalize first letter of each word in string
first letter capital in python
how to make the first letter of a string uppercase python
set first char to uppercase python
how to uppercase first letter in python
convert only first letter uppercase python
make first letter uppercase python
make first letter upper python
python make words first letter uppercase in a string
capitalise start of each word python
lowercase first character python
capitalize first character python
uppercase first letter python
how to capitalize first charachter of each word in python
only first letter capital of sentence in python
only first letter capital in python
first letter capital of sentence in python
python + put the first letter in lower case
how to print the first letter of each word capitalized in py
syntax for capitalizing first letter in python
capitalize letter python first letter
Cappitilize the first letter of every word python
how to make first letter of words uppercase python
capitalize first letter of each word django
python how to capitalize first letter but not apostrophe
how to capitalise each letter in python
pyhon capitilize first letter
first letter of a series upperrcase python
first word uppercase python
make the first word uppercase python
how to upper the first letter in a string python
python uppercase first letter
convert first letter to uppercase in python
how to make the first letter of element in list upper python
python make lowercase instead of first
string method for first letter to upper in python
lower case first letter python
capitalise first letter in each word python
make first character capital python
capitalize the first letter in a string in python
python check word capitalize first letter
python word capitalize first letter
put the first letter of a python string in lowercase letter
how to make every word start with a capital letter in word in python
make first letter of string uppercase python
python capitalise first letter
python lowercase first letter
capitalize first word letter python
capitalize every first letter python for example Aren't
capitalize every first letter python for example
capitalize every first letter python
upper first latter python
uppercase first letter pytho
capitalize first let in python string
capitalize first word in python
python how to capitalize first letter
Captilazie the first letter python
python check if first character is capital
capitalize first letter of a string python
string 1st character uppercase python
str.capitalize() python
make 1st letter in string capital py
update capitalize tring value python
capitalize first letter in senetence in python
capitalize letters python
capitalize first charachter in python string
how to uncapitalize first letter in python
how to print every third letter in python
python string uppercase first letter
.capitalise in python
udf that makes all the first letters capital in python
def that makes all the first letters capital in python
first letter in all words capital in def python
python capitalize first carachter
capitalized python
how to capitalize the first letter of each word in python
python capital onlt first letter
how to get the first character of a string capitalized in python
how to capitalize each string in list python.
how to change first letter and lastletter to uppercase in python
get only capital letters from string python
how to capitalize the first letter of a word in python
capfirst python
python capitalise first character in string
python first character uppercase
make first letter string capital letter python
first letter of string capital in python
first upper python
first letter capital string puthon
functions with the first letter capital
first letter uppercase string python
python3 capitalize
word iscapital python
capitalize() initials in a list python
capitlize a letter of word given the index
concatenate first and last letters python
change first letter of string to uppercase python
how to capitalize first letter in access
how to have first 3 letters from string python
input sequence of capitilize 'words in python code
sequence of capitilize 'words in python code
python string make first letter capital
in python 3 can we write variable by first letter capital
python capitalize the first letter of a word
capitalize the first letter of every word
how to capitalize first word in python
capitalize first letter of string
python capitalize first letter of every word in string
capitalize first and last letters of each word of a given string python
python capitalize first letter of each word in list
start case oython
how to capitalize word in python
capitalize() python does it capitalize only the first letter
how to make one letter uppercase in python
capitalize first letter in a column in python
python how to make first letter capitalize and others lower
how to upper only letter in define string python
how to capitalize specific letters in python
Write a program to capitalize the first letter of a sequence
print self.name with first word capitalized python
function to get the first alphabet of the first string into uppercase python
paython make forst letter upper
upper frist letter case python
string first letter uppercase python
python capita all
how to use capitalize method in python
py uppercase first letter
python all first letter uppercase
first capital string python
make first letter capital in python index
PRINT A FIRST LETTER AS CAPTITAL IN PYTHON list
PRINT A FIRST LETTER AS CAPTITAL IN PYTHON
capitalize the first letter of each word in a sentence in python
python first letter in string
capital letter for first letter python
capital first letter of string python
first character of string capital python
capitalize 1st letter python
python 3 make first letter uppercase
print first letter string python
python string capitalization
python capitalize the first letter list of strings
how to capitalize words in a list python
python capitalize first letter
python capitalize first letter of single words in string
python find first capital letter in string
all first letter uppercase python
python is first letter capitalized
capitalize python
capitalize first letter of string python
python input capitalize
python capitalize input
how to capitalize first character of string in python
how to capitalize first letter in python
how to capitalize first character of a string in python
get a list of name and make them title caps and print the lis
capitalize first letter in list python
capitalise first letter of each word python
how to caps lock every word in a string python
capitalise list python
how to capitalize first letter in python list
python capitalize first letter of each word
capitilizing alternate words of a string in python
Title case each word in list Python ?
how to capitalise every 2nd word of string python
capitalise every 2nd word of string python
capitalise 2nd word of stringpython
python capitalize first letter of words in string
python capitalize first letter of every word in list
how to make one word in python uppercase
how to capitalise every first letter of word python
convert the every first letter to uppercase python
python capatalise first letter of every word
python uppercase first letter of word
first letter caps in python
python capitalise each word
capitalize words in python
first letter of every word in pandas
python capitalize each starting letter
python capitalise first letter of each word
capitalize name in python
python capitalize each word
capitalize every single word stringe
python get each word in string capitalize
capitalize first letter in a string in python
capitalize each word python
capitalize each word in python
capitalize 1st letter every word in python
capitalize after space python
how to capitalize first letter of all words in python string
how to capitalize first letter of each word in python
capitalize all first letters python
capitalize l;etter after space python
capitalize specific letter in python
captialize each word in python
excel function returns first letter of each word
find which letter is a letter in list python
python capitalize every word
capitalize first letter of each word python
python capitalize first letter in list
how to capitalize first letter in list python