Comment on I wish
Enkers@sh.itjust.works 1 year ago
def is_even (num): return num in [x*2 for x in range(sys.maxsize << 1)]
Comment on I wish
Enkers@sh.itjust.works 1 year ago
def is_even (num): return num in [x*2 for x in range(sys.maxsize << 1)]
goddard_guryon@sopuli.xyz 1 year ago
That won’t work tho, you need to make it sys.maxsize//2 to coerce the output into int form