print valid for python3