convert prints to python 3