I tried using timeit and time.clock() but my computer's speed is inconsistent and I couldn't find out which is faster, If this question already exists then I apologize but I couldn't find it.
I belive second version (not 5 % 2) is faster since unary_not operation is faster than compare operation.
What is faster? "5 % 2 == 0" or "not 5 % 2"