Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 10 hours agoRulelemmy.blahaj.zoneimagemessage-square32fedilinkarrow-up1225arrow-down13
arrow-up1222arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 10 hours agomessage-square32fedilink
minus-squareEuphoma@lemmy.mllinkfedilinkEnglisharrow-up47·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-squareImplyingImplicationslinkfedilinkarrow-up16·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