Change printing to be more pythonic