Python - 061 : title() and replace() functions in python

Опубликовано: 28 Февраль 2026
на канале: The Digital Folks
109
3

The title() method returns a string where the first character in every word is upper case. Like a header, or a title. If the word contains a number or a symbol, the first letter after that will be converted to upper case.

String replace() in Python returns a copy of the string where occurrences of a substring are replaced with another substring.