[examples] pep8 fix E26*

E261	at least two spaces before inline comment
E262	inline comment should start with ‘# ‘
E265	block comment should start with ‘# ‘
E266	too many leading ‘#’ for block comment

This PR also fixes some E211 (whitespace before ‘(‘ ) errors overseen by the autopep8/pep8 tool.