examples: fix pep8 error classes E211

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
remove space between 'print' and '(' + switch to print function in comments

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
remove superflous comma
Merge pull request #3629 from thisch/examples_pep8_e211

examples: fix pep8 error class E211