QUESTION IMAGE
Question
what is the output?
>> password = sdf345
>> password.isalpha()
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
False