Question: Codio python challenge (max.py) We will pass in a list of numbers. Your job is to find the largest number in that list and output
Codio python challenge (max.py)
We will pass in a list of numbers. Your job is to find the largest number in that list and output its index, not the actual value.
Tip: you will need to use a utility variable to store the maximum value and a decision to see if each number is bigger than the current maximum value encounted in previous iterations
import sys
numbers = sys. argv[1]. split(',')
numbers = [int(1) for i in numbers]
#enter code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
