QUESTION 10: Identify the weights (or coefficients) assigned to for different features by the model

The value of ‘weights’ was incorrect
NotebookRuntimeError : object of type ‘int’ has no len()

I am not understand this , please someone can explain.

Your weights_df is of int type, not list.