Learn Interfaces by Building an Equation Solver - Step 64

Tell us what’s happening:

I have no idea what I’m doing wrong.

details = equation.analyze()
match details:
case {‘slope’: slope, ‘intercept’: intercept}:
details_list = [f’slope = {slope:.3f}‘, f’y-intercept = {intercept:.3f}’]
case {‘x’: x, ‘y’: y, ‘min_max’: min_max, ‘concavity’: concavity}:
details_list = [f’concavity = {concavity}‘, f’{min_max} = ({x:.3f},{y:.3f})']

for detail in details_list:
    output_string += f'\n{detail:^24}\n'  

Your code so far

# User Editable Region

    details = equation.analyze()
    match details:
        case {'slope': slope, 'intercept': intercept}:
            details_list = [f'slope = {slope:.3f}', f'y-intercept = {intercept:.3f}']
        case {'x': x, 'y': y, 'min_max': min_max, 'concavity': concavity}:
            details_list = [f'concavity = {concavity}', f'{min_max} = ({x:.3f},{y:.3f})']
        
    for detail in details_list:
        output_string += f'\n{detail:^24}\n'  
   

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15

Challenge Information:

Learn Interfaces by Building an Equation Solver - Step 64

Very close!

Check the spacing in the string that you create: <min_max> = (<x>, <y>)

And pay attention to this instruction at the end:

Do not use any additional format option here.