Sunday, 29 September 2013

Aligning output in Python?

Aligning output in Python?

Is there a way where I can right-align my output in such a way like this:
Item: $ 13.69
Tax: $ 5.30
Oth: $ 2.50
---------------
Total: $ 99.80
Please note that I am using Python 3.

No comments:

Post a Comment