But still a lot of developer are using out-dated methods and loose a lot of time trying to understand unreadable code...

Always use F-STRINGS for string interpolation in Python.

Python has many ways to glue together strings. And there is definitely a best way to do it. But still a lot of developer are using out-dated methods and loose a lot of time trying to understand unreadable code. Learn the modern way to do string formatting in Python. Learn f-strings.

Written by Loek van den Ouweland on 2021-11-21.
Questions regarding this artice? You can send them to the address below.