Python Everyday 13: Debugging with f-strings

Table of Content

Let's find out how to debugging with f-strings today. You may already know that '{n}' can be replaced by the '.format(*args)' like this:

with f-strings, you can also change to this:

Both of them are fine, but I prefer to f-strings, it's my style.