Python String – isalpha() method

It is a method in python string that checks if the given string has all the characters as alphabets only. It returns True if the condition satisfies else returns False. Syntax: string.isalpha() Example 1: s = “CodeWindow” x = s.isalpha() print(x) Output: True Explanation: Here all the characters in the string are alphabets. Hence returned […]

Python String – isalpha() method Read More »