DEV Community

Jeremy Grifski
Jeremy Grifski

Posted on

1

Python String Formatting Techniques

In an effort to build up a bit of a video collection, I finally got around to putting together a video for my string formatting article. In it, I share six string formatting techniques including old-school concatenation and new features like f-strings. Also, it features my cat and a little challenge at the end! If you remember Mad Libs, you'll love this.

Top comments (2)

Collapse
 
amitupreti profile image
Amit Upreti

That is soo cool. You included all the string formatting that are most used.

Collapse
 
renegadecoder94 profile image
Jeremy Grifski

Glad you liked it!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay