Data science course question error

There is an error in a question about Numpy operations from the data science course, the correct answer is 20,21,22,23,24 and it does not appear.


Take another look at the code in question, you may also try running it in the interpreter and seeing which answer is correct.

1 Like

try with

a = np.range(5)
a + 20

in an interpreter where you have numpy installed, you may be surprised

1 Like
a = 5
a + 5

What is the value of a? The answer is not 10.

1 Like