JPDev to Programmer Humor · 10 months agoThe Perfect Solutionimagemessage-square80fedilinkarrow-up1692arrow-down18
arrow-up1684arrow-down1imageThe Perfect SolutionJPDev to Programmer Humor · 10 months agomessage-square80fedilink
minus-squarePennomi@lemmy.worldlinkfedilinkEnglisharrow-up17arrow-down1·10 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ιɱҽʂ@lemmy.worldlinkfedilinkarrow-up3·10 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.