C3-Week2-ProgrammingAssignment-TypeError: unsupported operand type(s) for -: 'list' and 'int'

On the BBC assignment code on week 2 I keep getting this error
TypeError: unsupported operand type(s) for -: ‘list’ and ‘int’


I don’t know why it still recognizes this as a list instead of a numpy array

hi @axlol

always share a screenshot of the error as it gives more detail about your codes. Please don’t post any codes here.

Regards
DP

Hi
oh sorry, I didn’t know
changed it tho

please DM the codes of grade cell you are getting this error.

Don’t post codes here.