Closed mingkin closed 3 years ago
Hello @mingkin,
What version of Python are you using? The print(f"Something {var}")
(aka the f-string syntax or formatted string literal) is supported since Python 3.6. Check out PEP 498 for more details.
I'm not actually sure if the documentation mentions the required Python version anywhere. So I apologize if you can't find it. I'll be happy to fix it.