Y
Hacker News
new
|
ask
|
show
|
jobs
by
progval
2435 days ago
That's an f-string, so it only works with Python 3.7 and later
1 comments
kbd
2435 days ago
f-strings were introduced in Python 3.6, fyi:
https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep49...
link
https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep49...