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

Replace the add_0 function in timer.py with fstring #57

Closed farisfaikar closed 1 year ago

farisfaikar commented 2 years ago

We should be able to just use f"{minutes:02d} instead of writing a function to handle this from scratch. All the more reasons why I love fstrings.