Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve code readability and performance by using f-strings #1801

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 21, 2023

  1. Improve code readability and performance by using f-strings

    Using f-strings can improve both the readability and performance. 
    - F-strings make it easier to embed variables directly in the string, resulting in more concise and easier-to-read code. 
    - F-strings are often faster than concatenation because they are evaluated at runtime rather than being built up piece by piece.
    Liam-hi authored Apr 21, 2023
    Configuration menu
    Copy the full SHA
    6fe4edc View commit details
    Browse the repository at this point in the history