filmov
tv
Python String Methods - capitalize(), title(), count(), startswith(), endswith()
Показать описание
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
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