結果 : password validation in python using for loop