Python Forum

Full Version: need code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
The code is correct, no typo. Starting in Python 3.6 we have f-string functionality. See PEP for string formatting. Look at the code in the abstract section near the top.
printf ic 'C',
print(f"...") is a python f-string which is a very powerful string formatting method introduced in Python 3.6.

Quote:And about the cut-paste , you have a mistake .
As stated
Quote:windows instructions from memory, so might be slightly different.
To wrap it up ,
Thank you for the code , and thank you for the tips !
Pages: 1 2