Sublime Forum

F-string version problem

#1

I’m new to coding and I couldn’t get f-string to work in sublime test. I’ve got Python 3.8 on my Mac, updated the Build System to the right path, but couldn’t get the f to work, i.e. i typed ‘f’ and then the first quote ", but the second quote did not appear. I continued with print(f"Hello, this is {name}* ) and now when i typed the second quote " symbol, a third " symbol automatically appears. If i run it, i get syntax Error. If i delete the last quote " symbol, both " would be deleted.

09%20PM

I already created a new Build System with the right path but the version still appears as follows:

55%20PM

I definitely have python 3.8.1 installed and used the right path in the new Build System:
51%20PM

And here’s the code for the new build system:

25%20PM

I’ve already spent hours on the internet looking for solutions and still couldn’t get it to work… please help…:cold_sweat:

0 Likes