Atom giving and extra " - why?

Hello,

I’ve tried this with several variations but I keep on getting the same syntax error problem with this line of code from ex 5.

print(f"Let’s talk about {my_name}.")

The last " keeps of getting a syntax error marker when executed in Terminal. Also, weirdly, in Atom, it tries to automatically put in a second double quote. The second " is grey, the first is green.

Any idea?

Many thanks,

F

This is considered a “feature” of Atom, where it tries to help you type the quotes you’ll have to type. You just keep typing anyway and ignore it mostly. If you want to turn it off I think it’s called “smart quotes”.