title method

text = 'this is a simple text'
result = text.title()

print(result)  # This Is A Simple Text

Leave a Comment

Your email address will not be published. Required fields are marked *