beep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 4 months agoWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukimagemessage-square13linkfedilinkarrow-up1107arrow-down13file-text
arrow-up1104arrow-down1imageWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukbeep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 4 months agomessage-square13linkfedilinkfile-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·4 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!