Learn Interfaces by Building an Equation Solver - Step 67

Tell us what’s happening:

my output looks like this

 ---Quadratic Equation---

    x**2 +2x +1 = 0     

-------Solutions--------

       x = -1.000       

--------Details---------

concavity =      upwards
min =    (-1.000, 0.000)

but i cant figure out

Your code so far

# User Editable Region

            # User Editable Region

            details_list = [f'concavity =     {concavity:>1}', f'{min_max} =    {coord:>13}']

# User Editable Region
    for detail in details_list:

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 67

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

When I run your code the output is this:

---Quadratic Equation---

    x**2 +2x +1 = 0     

-------Solutions--------

       x = -1.000       

--------Details---------

concavity =     upwards
min =    (-1.000, 0.000)

The variables are not correctly right aligned. You should not be adding a bunch of spaces manually in your string, only use the f string alignment.