← Quiz: NumPy: all 10 questions
Quiz: NumPy · Question 1 of 10
What does marks.argmax() return?
What does marks.argmax() return?
- A.The largest value
- B.The position (index) of the largest value
- C.The average
- D.The number of elements
Answer & explanation
Correct answer: The position (index) of the largest value
max() returns the value; argmax() returns where it is.
Can you get the rest right without peeking?
Take the timed Quiz: NumPy quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →