aligning positive and negative numbers
print ('% 5d' % 10) + '\n' + ('% 5d' % -10) print ('%+5d' % 10) + '\n' + ('%+5d' % -10)