Challenge 2: Find Maximum in a List
Explore Python loops by creating functions that find the maximum value in a list and return both the maximum and its index. This lesson helps you understand iteration, comparison logic, and working efficiently with lists.
Problem Statement 1
Create a findMaximum function that receives a list as a parameter and returns the maximum value in the list. As you iterate over the list, you may want to keep track of the current maximum value in order to keep comparing it with the next elements of the list.
Input
A list ...