Dls course 2 week 2 optimization problem

{Moderator’s Edit: Solution Code Removed}

please help syntax error is occuring

1 Like

Hey @Sudipta_Mukherjee1,
Please note that inside np.sqrt, for s_corrected, you have written str(l+). There is your syntax error. I hope this helps.

P.S. - Please note that sharing solutions code is strictly against the community guidelines. You are more than welcome to share your error stack, in place of the solution code.

Cheers,
Elemento

1 Like

Now another problem occurs very tough i can not understand anything please help

1 Like

Hello @Sudipta_Mukherjee1!

You need to run all the above cells before that particular cell. Every time you open an assignment, you need to do that. This is because later cells depend on variables or functions defined in the above cells.

Best,
Saif.

1 Like

thank you i passed this assignment will do the next one thank you

1 Like