Update sample.py with STDOUT

Show what this script prints, for easier understanding of code