PASSIVE AGGRESSIVE PASSWORD CHECKER
Forget "How secure is your password", this program may be SLIGHTLY judgmental but at least you won't be hacked! https://repl.it/@thomasf04/passive-aggressive-password-checker
I like the variable names... "qwerty", "asdf", "zxcv" :P
You have great sense of humor!!!
This is fun :D
I got "Do you want to be hacked?" and so I typed "Yes" in the console after it finished
I'm pretty sure 20 is too high a bar for a password to be "ok"
**Suggestions for improvement:**
- fix spelling error in variable
asdf
-- "your'e" should be "you're" - rename
qwerty
,asdf
andzxcv
variables toweak
,norm
andstrong
(see below) - combine
if
statements into oneif / elif / else
statement (see below) - remove
weak
,morn
andstrong
variables fromif
statements and place them at beginning of code (see below) - add functionality to make program automatically restart when EoC is reached (see below)
- add dictionary variable with common dictionary words
- add check to see if
password
contains strings fromdictionary
You can see my suggestions in code at https://goo.gl/4vrv7D
@thomasf04: I'm glad they were of service to you. Welcome to the wonderful world that is Python! I'm sure you'll do great things!
I love your idea! I think there is a website, http://www.trypap.com/, that does something similar to yours. I love how you can actually test the strength of the password!
@clairebookworm: I think this is based on the website?
This is Hilarious
Very fun game! Impressive when just learned python for a month!
@thomasf04 You only have 12 options in the weak variable, so, when randint returns 12, you get the following error message:
Traceback (most recent call last):
File "python", line 18, in <module>
IndexError: list index out of range
@iammyself: Thankyou, bug fixed :)
qwertyuiop1234567890 gave a line 18 error
@ryanprogramming: Thankyou, bug fixed :)
language
Did you get this idea from trypap.com? Either way, I love it! XD
@nataliedimaria: Yes. The first time i tried the website (before i knew code) i marvelled at the fact it could say something different each time, and depending on the length of the password. As soon as i learnt a bit of code i challenged myself to create a similar one and well, apparently 42 people think it's good so yay.
Nice job. But, when entering complex passwords, it just says its pathetic...