what is the output?\n>>> password = sdf345\n>>> password.isalpha()

what is the output?\n>>> password = sdf345\n>>> password.isalpha()

what is the output?\n>>> password = sdf345\n>>> password.isalpha()

Answer

Explanation:

Step1: Understand isalpha() method

The isalpha() method in Python checks if all characters in a string are alphabetic.

Step2: Analyze the given string

The string sdf345 contains digits (3, 4, 5).

Step3: Determine the result

Since it has non - alphabetic characters, the result is False.

Answer:

False