Answer
It is not a contradiction.
Work Step by Step
Like light, electrons display both particle and wave properties. The particular behavior of the electron that we observe depends on the experiment that we perform. This dualism is called complementarity.
This is discussed on pages 595-596.