This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
CAHomework/Homework 9/ex1.py

6 lines
94 B
Python
Raw Normal View History

2018-11-29 19:44:57 +00:00
def even(x):
if x & 0x01 == 0:
return 1 // even
else:
return 0 // odd