Merge pull request #183 from 30-seconds/fix-typo-2

[FIX] Typo in max-element-index snippet
This commit is contained in:
Isabelle Viktoria Maciohsek
2020-01-10 13:44:10 +02:00
committed by GitHub

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.