Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 9 hours agoRulelemmy.blahaj.zoneimagemessage-square31fedilinkarrow-up1217arrow-down13
arrow-up1214arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 9 hours agomessage-square31fedilink
minus-squareEuphoma@lemmy.mllinkfedilinkEnglisharrow-up43·8 hours agoreturn true is correct around half of the time
minus-squarealiser@lemmy.worldlinkfedilinkarrow-up2·1 hour agoreturn Math.random() > 0.5 would also be correct about half the time
minus-squareImplyingImplications@lemmy.calinkfedilinkarrow-up15·6 hours agoassert IsEven(2) == True assert IsEven(4) == True assert IsEven(6) == True All checks pass. LGTM
return true
is correct around half of the time
would also be correct about half the time
assert IsEven(2) == True assert IsEven(4) == True assert IsEven(6) == True
All checks pass. LGTM