Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- passwordinput = str(input("Enter a Password: "))
- points = 0
- for char in passwordinput:
- if char in "!@#$%^&*\(\)\{\}\"\'\;\:1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ":
- points += 1
- if points in range(3, 5):
- print(f"The Password : {passwordinput} : is : Passible")
- if points in range(6, 8):
- print(f"The Password : {passwordinput} : is : Good")
- if points in range(9, 20):
- print(f"The Password : {passwordinput} : is : Strong")
- if points > 20:
- print(f"The Password : {passwordinput} : is : Un-Crackable")
- elif points < 3:
- print(f"The Password : {passwordinput} : is : Not Strong Enough")
- print(points)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement