The
One of them is
str
object has many useful string-methods: https://docs.python.org/3/library/stdtyp...ng-methodsOne of them is
title
and capitalize
.text = "We always eat dinner together." print(text.title())
Output:We Always Eat Dinner Together.
With capitalize
:Output:We always eat dinner together.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!