MLWhiz | AI Unwrapped

MLWhiz | AI Unwrapped

How and Why to use f strings in Python3?

Rahul Agarwal's avatar
Rahul Agarwal
May 24, 2020
∙ Paid

Python provides us with many styles of coding.

And with time, Python has regularly come up with new coding standards and tools that adhere even more to the coding standards in the Zen of Python.

Beautiful is better than ugly.

In this series of posts named Python Shorts , I will explain some simple but very useful constructs provided by Python, some essential tips, and some use cases I come up with regularly in my Data Science work.

This post is specifically about using f strings in Python that was introduced in Python 3.6.

User's avatar

Continue reading this post for free, courtesy of Rahul Agarwal.

Or purchase a paid subscription.
© 2026 Rahul Agarwal · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture