Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I was told to move the print(maxi) I tried and its still wrong. import sys Inunters: sys.argv[1],split('') numbers [int () for i in numbers 3.5.

I was told to move the print(maxi) I tried and its still wrong. image text in transcribed
image text in transcribed
import sys Inunters: sys.argv[1],split('') numbers [int () for i in numbers 3.5. Max number # Your code goes here not the actual value 18 for i in range (Len (nunbers)): the maximum value and a decision to see if each number is bigger than the current maximum value LAST RUN on 1/28/2019 1107 28 PM ram Expected Output 4 Your Program Output 0 * Get our numbers from the command line Collapse) Challenges inport sys numbers [int (i) for i in numbers] # Your code goes here saxi:8 4 numbers sys.argv[1].split(,') 3. 5. Max number Program Output 18 for i in range (len(numbers)): if numbers[i]> numbers[maxi]: 1,5,8,23,78,22,0 Expected Output 4 Your Program Output: O maxi Your output was incorrect. Try

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions