sample: Fix coding style per updated pep8