[FIX]Typo in max-element-index snippet
Minor typo fix
This commit is contained in:
committed by
GitHub
parent
aaafc052b7
commit
5b69d08b5e
@ -3,7 +3,7 @@ title: max_element_index
|
||||
tags: list,beginner
|
||||
---
|
||||
|
||||
Returns the pindex of the element with the maximum value in a list.
|
||||
Returns the index of the element with the maximum value in a list.
|
||||
|
||||
Use `max()` and `list.index()` to get the maximum value in the list and return its index.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user