AssertionError Course1, Week 2, Assignment

AssertionError Traceback (most recent call last)
in
2 w, b = initialize_with_zeros(dim)
3
----> 4 assert type(b) == float
5 print ("w = " + str(w))
6 print ("b = " + str(b))

AssertionError:

I am getting this error in a cell in my assignment. I can’t even edit this cell as its already fixed.

b should be float. For example, 4 is an integer but 4. or 4.0 is a float.

there is an assert type(b) == float in the cell, but still it gives error.

Your b = 0 is an integer. Make it a float. Check my previous reply on how to do this.

Note: Sharing your solution code is not allowed.

Oh, ok got it, Thank you, and sorry, won’t happen next time.