farisfaikar / Number-Game

Number Game is a game where players solve a 4-digit secret number combination using clever deductions!
MIT License
17 stars 9 forks source link

Refactor: format time with f-strings instead of the add_0 function #58

Closed alexpalade closed 1 year ago

alexpalade commented 1 year ago

I refactored timer.py and text.py. I removed a few lines of duplicated code as a nice side-effect.

It's an easy old issue, so I didn't ask to be assigned. I admit, it also helps with my late Hacktoberfest start. :sweat_smile:

Closes #57

farisfaikar commented 1 year ago

Awesome work! Thank you for contributing ❤️