password = sdf345 password.isalpha() java code example Example: password = sdf345 password.isalpha() java >>> password = "sdf345" >>> password.isalpha()