Getting an “invalid syntax” when trying to perform string interpolation
I have recently been learning python 3 and I cannot get any examples involving string interpolation (formatting) to work.
I have recently been learning python 3 and I cannot get any examples involving string interpolation (formatting) to work.
I was trying to set default python version to python3 in Ubuntu 16.04. By default it is python2 (2.7). I followed below steps :