C5W2A2 Code Correction?

In 1.4 Exercise 2, the second last line of function model, it seems that the indentation of variable pred is not correct. It should be 4 or 8 spaces less. Under the current implementation, the returned pred is not the one associated with final training result W and b.

The indentation appears to be correct to me.

Can you post a screen capture image that shows some more evidence?

Here is the screenshot. The pred line is executed only when t % 100 == 0. The max. t is 399, therefore the final pred is when t=300. But I think it won’t affect what we are trying to achieve in this notebook though.