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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!