Which Python version introduced f-strings?
Correct answer
D. 3.6
5 views
D. 3.6
5 views
Formatted string literals (PEP 498) arrived in Python 3.6.
Asked in: Python Interview Strings
https://docs.python.org/3/library/stdtypes.html#string-methodsNot sure why the answer is D? Ask here and get an explanation.