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

f-strings #60

Open
TorbenMiller opened this issue Oct 7, 2021 · 0 comments
Open

f-strings #60

TorbenMiller opened this issue Oct 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@TorbenMiller
Copy link
Collaborator

PEP 498 introduced a new way for string literals. To follow the current programming style and improve readability, I would recommend implementing this.
Example:

location = "World"

output = f"Hello,{location}!"

print(output)
torben@R2-D2:~/Projects/test$ python3 test.py 
Hello,World!
@TorbenMiller TorbenMiller added the enhancement New feature or request label Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant