beep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 8 days agoWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukexternal-linkmessage-square13linkfedilinkarrow-up1108arrow-down13file-text
arrow-up1105arrow-down1external-linkWhen you ask someone a boolean question....... and they return a stringmedia.glamourmagazine.co.ukbeep@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 8 days 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·8 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!