Python data analysis course answer problem

I think there is a mistake with the true answer of this numpy operation

Can you please explain why you believe the solution to be in error? It looks correct to me:


Ohh sorry my bad, I didnt read the question carefully. It asks the value of a not a+ 20. My mistake

1 Like

I also made this mistake, so used to questions where you are looking for the output. So I feel it is kind of a bit misleading. This level of pedantry is important though so lesson learnt.