Kod kullanıcı tarafından girilen şifrenin uygunluğunu kontrol etmektedir.Şifrenin uygun olması için n az 8 karakterden oluşmalı, en az bir büyük harf ve en az bir rakam içermelidir.Şartlar sağlanırsa şifre oluşturuldu mesajı vermektedir.Eğer şartları sağlanmadıysa hangi şartın sağlanmadığını göstermektedir.
The code checks the suitability of the password entered by the user.For the password to be appropriate, it must contain at least 8 characters and contain at least one uppercase letter and at least one number.If the conditions are met, it gives the message that password has been created.If its conditions are not met, it indicates which condition is not met.