Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+33 votes
asked in CSC285_Fall2018 by (1 point)

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 (1 point)
+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...

...