Transform print statement to print function

Partial implement: blueprint py33-support

Change-Id: Iefeea112a1928b7069a9c35198ef4e9dce8a382a