Persona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 8 hours agoRulelemmy.blahaj.zoneimagemessage-square24fedilinkarrow-up1193arrow-down12
arrow-up1191arrow-down1imageRulelemmy.blahaj.zonePersona3Reload@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 8 hours agomessage-square24fedilink
minus-squarebob_lemonlinkfedilinkarrow-up29·edit-27 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