Oct-16-2018, 06:06 AM
It looks you refer to old-style string formatting.
Check this link https://docs.python.org/3.7/library/stdt...formatting
As I said this is old style formatting and it still works, but preferred/recommended is to use str.format(), template strings or formatted string literals, a.k.a f-strings (in python 3.6+)
More information https://docs.python.org/3.7/library/stri...matstrings
Check this link https://docs.python.org/3.7/library/stdt...formatting
As I said this is old style formatting and it still works, but preferred/recommended is to use str.format(), template strings or formatted string literals, a.k.a f-strings (in python 3.6+)
More information https://docs.python.org/3.7/library/stri...matstrings
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs