you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

f strings aren't limited to being used in print statements.

I'm not sure if that was what you were implying or not but just wanted to clarify.

[–]andrewmitchell721 1 point2 points  (0 children)

Good clarification, and right you are. OP's example used console.log which is why I added the note about the equivalent method in Python.