4 Ways To Perform Python String Formatting

Deddy T
Level Up Coding
Published in
10 min readMar 6, 2022

--

Photo by Artturi Jalli on Unsplash

String formatting can be pretty fundamental and simple, but what really triggered me was what was the best way to do the formatting while writing the code for specific situations. And that curiosity kinda let me down the rabbit hole.

On a side note, I actually wrote other Python related articles before like Python Number Formatting Binary Type which probably needs me to write another one…

--

--

💻engineer | ex-💰consultant. Writes any (IT and Finance) that helps or guides. Check out => https://linktr.ee/deddytandean