Pregunta de entrevista de Arista Networks

Simple Python problem to test knowledge of bitwise operations