subject

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
You know the right answer?
Codio python challenge (max. py)

we will pass in a list of numbers. your job is to find...
Questions
question
Mathematics, 13.04.2021 20:40
question
Mathematics, 13.04.2021 20:40
question
Medicine, 13.04.2021 20:40
question
Biology, 13.04.2021 20:40
question
Mathematics, 13.04.2021 20:40
question
Mathematics, 13.04.2021 20:40
question
Mathematics, 13.04.2021 20:40
Questions on the website: 13722360