@JPDev@programming.dev to Programmer Humor@programming.dev • 6 months agoThe Perfect Solutionprogramming.devimagemessage-square81fedilinkarrow-up1691arrow-down18
arrow-up1683arrow-down1imageThe Perfect Solutionprogramming.dev@JPDev@programming.dev to Programmer Humor@programming.dev • 6 months agomessage-square81fedilink
minus-squarePennomilinkfedilinkEnglish16•6 months agoNot sure what you mean, there’s no json in this code, it’s all valid (if a little ugly) Python.
minus-squareNιƙƙιDιɱҽʂlinkfedilink3•6 months agoLooks pretty much the same as a template string in Javascript, an arguably crazier language.
Not sure what you mean, there’s no json in this code, it’s all valid (if a little ugly) Python.
So what does the f do?
It is a f-string
Python is crazy
Looks pretty much the same as a template string in Javascript, an arguably crazier language.