[FIX]Typo in max-element-index snippet

Minor typo fix
This commit is contained in:
Isabelle Viktoria Maciohsek
2020-01-10 13:41:48 +02:00
committed by GitHub
parent aaafc052b7
commit 5b69d08b5e

View File

@ -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.