the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

Improve code readability and performance by using f-strings

Open Liam-hi opened this issue 2 years ago • 1 comments

  • F-strings improve the readability
  • F-strings are often faster than concatenation because they are evaluated at runtime rather than being built up piece by piece.

Liam-hi avatar Apr 21 '23 22:04 Liam-hi

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 21 '23 22:04 CLAassistant

LGTM

ubergard avatar Apr 30 '23 20:04 ubergard