Answers for "python align output"

0

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))
Posted by: Guest on June-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language