Python String Methods - capitalize(), title(), count(), startswith(), endswith()

Опубликовано: 13 Апрель 2026
на канале: yatin jog
180
1

Introduction to Python
Python String Methods - capitalize(), title(), count(), startswith(), endswith()

capitalize() - Converts the first character to upper case
title() - Converts the first character of each word to upper case
count() - Returns the number of times a specified value occurs in a string
startswith() - Returns true if the string starts with the specified value
endswith() - Returns true if the string ends with the specified value

-by Yatin Jog