I have tried for ages to come up with a solution but just can't get my head around it.
It needs to be based on two integers on the use of standard logical operations which have direct hardware implementation AND, OR, XOR, NOT
It's a guidance for me to help with my project I am going to start, if anyone can explain it please.
I want this in terms of Python