Python3 updates to print statements
remove trailing spaces