A Guide to Everything String Formatting in Python

All you need to know about the five methods to format strings in Python

Sara A. Metwalli
Towards Data Science
8 min readAug 7, 2020

--

Photo by Safar Safarov on Unsplash

Strings are one of the most essential and used datatypes in programming. It allows the computer to interact and communicate with the world, such as printing instructions or reading input from the user. The ability to manipulate and formate strings give the…

--

--

Ph.D. candidate working on Quantum Computing. Traveler, writing lover, science enthusiast, and CS instructor. Get in touch with me bit.ly/2CvFAw6