Apr-23-2020, 10:20 PM
I definitely have feedback, but I'm not sure the right way to go about it... at this point, here's what I recommend:
Hint: At least four lines can be removed without changing the behavior of your code.
- Write tests. Try to break your code. I can see at least one bug.
- Add comments to your code explaining what you think it's doing (e.g. the .title() calls).
- If you can cleanup the duplicated lines, that would be ideal as well.
Hint: At least four lines can be removed without changing the behavior of your code.