convert print statement to print function
Merge remote-tracking branch 'origin/pr/346'

* origin/pr/346:
  convert print statement to print function