Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+32 votes
asked in CSC285_Fall2018 by (8 points)

1 Answer

+14 votes

If you print out the passwords that were counted in the "howbad" method, it appears that there is one password that has all letters The help method determines if the password is bad only when there are no symbols and is composed only of letters.

answered by (8 points)
+5

Following up on Ehren's point -- your job in this case involves refactoring. So you are assuming that the original code produced correct results -- it just did so in a bad way. You want to make sure that your revised code produces exactly the same results as the original would have...

...