20
loading...
This website collects cookies to deliver better user experience
capitalize()
function. This method returns a string with the first letter capitalized. If you are looking to capitalize the first letter of the entire string the title()
function should be used.string.capitalize()
flexiple = "join are freelance community"
print(flexiple.capitalize())
print(flexiple)
Join are freelance community
join are freelance community
upper()
method for example returns a string with all the characters in the upper case and the lower()
method does the opposite.title()
method is used to capitalize the first letter of all the words in a string.flexiple = "join are freelance community"
print(flexiple.upper())
print(flexiple.lower())
print(flexiple.title())
print(flexiple)
JOIN ARE FREELANCE COMMUNITY
join are freelance community
Join Are Freelance Community
join are freelance community