Python String isalpha() Method

0

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. 



 

Post a Comment

0Comments
Post a Comment (0)