Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 6 hours agoRulelemmy.blahaj.zoneimagemessage-square22fedilinkarrow-up1163arrow-down12
arrow-up1161arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 6 hours agomessage-square22fedilink
minus-squarebob_lemonlinkfedilinkarrow-up23·edit-25 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