Python
f-string
벤진[Benzene]
2020. 8. 12. 08:11
f-string(formated string literal)
PEP 498 -- Literal String Interpolation
The official home of the Python Programming Language
www.python.org
index = 1
example = "hello"
print(f'{index+1}:{example}')
--> 2: hello