“If you're using print calls to debug your Python code, consider using f-strings with self-documenting expressions instead.”

Read more 👉 https://pym.dev/debugging-with-f-strings/

#Python

Debugging with f-strings

If you're debugging Python code with print calls, consider using f-strings with self-documenting expressions to make your debugging a little bit easier.

@treyhunner Don't forget warnings.warn() !