Answers for "all word capital 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
0

how to capitalize words in python

Text = "python is easy"
print(Text.capitalize())
####output####
Python is easy
Posted by: Guest on October-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language