JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoThe Perfect Solutionprogramming.devimagemessage-square78fedilinkarrow-up1677arrow-down18
arrow-up1669arrow-down1imageThe Perfect Solutionprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square78fedilink
minus-squarerimjob_rainer@discuss.tchncs.delinkfedilinkarrow-up14arrow-down5·edit-22 years agoyes of no Not even valid json but compiler doesn’t complain
minus-squarePennomi@lemmy.worldlinkfedilinkEnglisharrow-up17arrow-down1·2 years 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·2 years agoLooks pretty much the same as a template string in Javascript, an arguably crazier language.
yes of no
Not even valid json but compiler doesn’t complain
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.
What json