Learn Interfaces by Building an Equation Solver - Step 67

Tell us what’s happening:

details_list =[
f"concavity ={concavity:>12}“,
f”{min_max:<8}= {coord}"
] any one can help me

Your code so far

# User Editable Region

            details_list =[
                f"concavity ={concavity:>12}", 
                f"{min_max:<8}= {coord}"
                ]
            

    for detail in details_list:
        output_string += f'{detail}\n'
    return output_string
lin_eq = LinearEquation(2, 3)
quadr_eq = QuadraticEquation(1, 2, 1)
print(solver(quadr_eq))

# 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/135.0.0.0 Safari/537.36 Edg/135.0.0.0

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 67

Welcome to the forum :wave:

Does your output match the example? Can you show your output here?

// running tests
1. The solver function should return a different string.
// tests completed
// console output

---Quadratic Equation---

    x**2 +2x +1 = 0     

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

       x = -1.000       

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

concavity =     upwards
min     = (-1.000, 0.000)

that does not match the required output, the last character of the concavity and min/max lines ned to be below the last dash, but one is before the other is after the last dash

also double check where the equal sign needs to go

how do you add space without formatters(<>^) , just do that, don’t use formatters