[examples] fix pep8 error classes e225, e227 and e228

E225	missing whitespace around operator
E227	missing whitespace around bitwise or shift operator
E228	missing whitespace around modulo operator