Python String isalpha() Method
The isalpha() method returns True if all characters in the string are alphabets. If not, it returns False.
Syntax :-
string.isalpha()
Parameters
The isalpha() doesn't take any parameters.
Return Value
This method returns true if all characters in the string are alphabetic and there is at least one character, otherwise false.
Comments
Post a Comment