Naveen Vijay

Python 3’s new f string based string formatting is very powerful, simple and effective. It takes big readability hit when we try to compress the entire string output into a single line. I was wondering how do we do multilne f string without having to complex \t and stuff. I posted the same on Reddit and AlSweigart [Automate the Boring Stuff with Python fame] was kind enough to share his insights. I am resharing it here.