Python String isalpha() MethodLast Updated : 30 Dec 2025 Python isalpha() method returns true if all characters in the string are alphabetic. It returns False if the characters are not alphabetic. It returns either True or False. Syntax of Python String isalpha() MethodIt has the following syntax: ParametersNo parameter is required. ReturnIt returns either True or False. Different Examples for isalpha() Method in PythonLet's see some examples of isalpha() method to understand it's functionalities. Example 1Let us take an example to demonstrate the isalpha() Method in Python. Output: True Example 2Let us take another example to demonstrate the isalpha() Method in Python. Output: False Example 3Here, we are going to demonstrate the working of isalpha() Method in Python. Output: String contains alphabets Next TopicPython Strings |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India