Python data analysis course answer problem

I think there is a mistake with the true answer of this numpy operation https://www.freecodecamp.org/learn/data-analysis-with-python/data-analysis-with-python-course/numpy-operations

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

2 Likes

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.