Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 10 hours agoRulelemmy.blahaj.zoneimagemessage-square31fedilinkarrow-up1224arrow-down13
arrow-up1221arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 10 hours agomessage-square31fedilink
minus-squarebob_lemon@feddit.orglinkfedilinkarrow-up33·edit-28 hours agoimport re def is_even(i: int) -> bool: return re.match(r"-?\d*[02468]$", str(i)) is not None
import re def is_even(i: int) -> bool: return re.match(r"-?\d*[02468]$", str(i)) is not None
Cursed