Dec-11-2018, 11:14 AM
You realise that first you say python3 is "a bit different" (more typing, things done differently, etc.) and then you say you figured 3 is "so similar".
As to particular question, let's rephrase my answer
using % for string formatting is ancient.
As to particular question, let's rephrase my answer
using % for string formatting is ancient.
.format()
is available in both python2 and python3 for quite some time and then f-strings is the newest addition (since 3.6).
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