Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python align output

# credit to Stack Overflow user in the source link
# < : align to left. > : align to right

print('{:>12}  {:>12}  {:>12}'.format(word_1, word_2, word_3))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #align #output
ADD COMMENT
Topic
Name
9+6 =