Last answered:

09 Jan 2026

Posted on:

08 Mar 2024

2

Practice Exam 2: Question 2

The answer chosen for this question seems to be incorrect. Can I get a clarification?

Here is the question:

Trying these two on my jupyter notebook results in the following:

This looks misleading. Please clarify.

1 answers ( 0 marked as helpful)
Posted on:

09 Jan 2026

1
I agree. I really dislike this question. Also, the behavior of numpy seems to have changed based on what I can tell. I'm not sure why you would even ask a quiz question abourt counter intuitive buggy behavior like this.

Submit an answer