beep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 1 month agoWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukimagemessage-square10linkfedilinkarrow-up1100file-text
arrow-up1100imageWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukbeep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 1 month agomessage-square10linkfedilinkfile-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-up2·1 month 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!