How to Get Formatted Output Using Python Print