beep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 3 months agoWhen you ask someone a boolean question....... and they return a stringimagemessage-square12linkfedilinkarrow-up1108arrow-down13file-text
arrow-up1105arrow-down1imageWhen you ask someone a boolean question....... and they return a stringbeep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 3 months agomessage-square12linkfedilinkfile-text
cross-posted from: https://piefed.world/c/shit/p/1239627/when-you-ask-someone-a-boolean-question-and-they-return-a-string
minus-squareBadabinski@kbin.earthlinkfedilinkarrow-up3·3 months agoA string with length > 0 is truthy*, so we’re good! *in python
A string with length > 0 is truthy*, so we’re good!
*in python
False is true!