I am having issues implementing the gradient descent formula in Exercise 6.

The error is as follows:

TypeError: unsupported operand type(s) for *: ‘float’ and ‘function’

Could you provide some hints as to how to solve this? I think this is more to do with Python than the understanding of the math. So I would appreciate if I could be pointed more explicitly in the right direction.

Thanks, Agnese, I managed to figure that out not long after I wrote to you for help. I guess it shows that the math and coding are similar but not the same - almost as if learning two similar languages.