Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

isalpha():-

            The isalpha() method returns True if all the characters are alphabet letters (a-z). Example of characters that are not alphabet letters: (space)!#%&? etc.

Syntax:-                       string.isalpha()

txt = “CompanyX”

x = txt.isalpha()

print(x)

Output

True

txt = “Company10”

x = txt.isalpha()

print(x)

Output

False

error: Content is protected !!