update print command for python3