Learn Interfaces by Building an Equation Solver - Step 65

Tell us what’s happening:

How should I go about this code. I don’t understand how should I go forward.

Your code so far

# User Editable Region

            details_list = [f'slope = {slope:.3f}', f'y-intercept = {intercept:.3f}'] 

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 65

you need to right align the numbers. You used earlier the syntax to center a value, right-aligning has similar syntax

It is not working. details_list = [f'slope = {slope:15.3f}', f'y-intercept = {intercept:9.3f}']
Even the output matches in the output window. What is wrong in this code?

the last 0 needs to be below the last dash, you are not there yet