In this case the puzzle is to find the error in the reasoning. Other examples of this include the two-envelope problem, the unexpected hanging, and the case of the missing dollar. Sometimes puzzles like this reveal deep insights into the subject, sometimes they point out that "obvious" things aren't obvious, and sometimes they reveal weaknesses in our understanding or reasoning.
This is - for some students - an excellent introduction to why we need to be careful when dealing with certain types of mathematical manipulation.