Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 9 hours agoRulelemmy.blahaj.zoneimagemessage-square31fedilinkarrow-up1217arrow-down12
arrow-up1215arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 9 hours agomessage-square31fedilink
minus-squarebob_lemon@feddit.orglinkfedilinkarrow-up30·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