Answers for "capitalize complete word matching in python"

3

python capitalize all words

sample_text = "this is a sample string"
result = sample_text.title() # "This Is A Sample String"
Posted by: Guest on September-26-2021

Code answers related to "capitalize complete word matching in python"

Python Answers by Framework

Browse Popular Code Answers by Language