Answers for "python make all words capitalize in a sentence"

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 "python make all words capitalize in a sentence"

Python Answers by Framework

Browse Popular Code Answers by Language