Mega Code Archive
Categories
/
Python Tutorial
/
String
A plus (+) means that a sign should precede both positive and negative numbers
print ('%+5d' % 10) + '\n' + ('%+5d' % -10)