Converted print statements to the python3 print function