beep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 2 days agoWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukimagemessage-square12linkfedilinkarrow-up1101arrow-down13file-text
arrow-up198arrow-down1imageWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukbeep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 2 days 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-up2·2 days 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!