Rodrigo Girão Serrão: TIL #134 – = alignment in string formatting
Link: https://mathspp.com/blog/til/-alignment-in-string-formatting
Today I learned how to use the equals sign to align numbers when doing string formatting in Python.
There are three main alignment options in Python's string formatting:
Character
Meaning
<
al
Link: https://mathspp.com/blog/til/-alignment-in-string-formatting
Today I learned how to use the equals sign to align numbers when doing string formatting in Python.
There are three main alignment options in Python's string formatting:
Character
Meaning
<
al
Mathspp
TIL 134 – = alignment in string formatting
Today I learned how to use the equals sign to align numbers when doing string formatting in Python.