Python String isalpha() method

The string.isalpha () method in Python returns a boolean value true if all characters in the  string are alphabetic else for any other value it returns false.

Syntax

Parameter

NA

Return

This method returns a boolean value true if all characters in the string are alphabetic.

Example 1

Output

Example 2

Output

Example 3

Output

Pin It on Pinterest

Share This