SymPy currently uses the old %-style string formatting in many places. Since Python 3.6 introduced f-strings, we can modernize the codebase by replacing these with f-strings, which are more readable, ...