You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Passwords/password_strength_checker.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
#program to check password strength. A strong password needs to be at least 8 chars long, have both upper and lowercase chars and have some special characters as well.
1
2
importstring
2
3
3
4
defStrength(password):
@@ -21,8 +22,7 @@ def Strength(password):
21
22
specialChar=True
22
23
23
24
# Strength of password calculation.
24
-
# password is strong only if it has both upper case and lowercase letters as well as special characters.
25
-
# Also length should be greater than or equal to 8
0 commit comments