Python String Methods - islower(), isupper(), istitle(), isspace(), zfill()

Опубликовано: 03 Октябрь 2024
на канале: yatin jog
167
0

Introduction to Python
Python String Methods - islower(), isupper(), istitle(), isspace(), zfill()

islower() - Returns True if all characters in the string are lower case
isupper() - Returns True if all characters in the string are upper case
istitle() - Returns True if the string follows the rules of a title
isspace() - Returns True if all characters in the string are whitespaces
zfill() - Fills the string with a specified number of 0 values at the beginning

-by Yatin Jog