Fixed examples/*.py to use print() function

This fixes a regression from e62180e21, which added "from __future__ import print_function" to these examples but did not actually migrate away from the print statement.