• Member for 5 years, 2 months
  • Last seen this week
Dice roller - python
4 votes

A bit of honesty When starting to review your code, I found it unintelligible and I was unable to follow the logic. I was able to understand what you are trying to do but not your implementation so I ...

View answer
Python User Input
Accepted answer
3 votes

Rule of 3 One of the main things to look for when refactoring code is the same few lines repeated. Some use the rule of three - if the same section is written more than three times the solution is ...

View answer
Simple authentication and registration of users
2 votes

Cryptography As others have mentioned, I would use bcrypt Format You have used good function names and variable names. However, you can add doc strings for each function. def add_user(username, ...

View answer