Arm Interview Question

Python coding using bitwise operators