Write a test program that prompts the user to enter a two


PYTHON

Locate the largest element.. write the following method that returns the location of the largest element in a two-dimensional array.

def locateLargest(a):

The return value is a one dimensional list that contains two elements. these two elements indicated the row and column indexes of the largest element in the two dimensional list.

Write a test program that prompts the user to enter a two dimensional list and displays the location of the largest element in the list.

PYTHON

Example: Enter the number of rows in the list: 3

enter a row: 23.5 35 2 10

enter a row: 4.5 3 45 3.5

enter a row: 35 44 5.5 11.6

the location of the largest element is at (1, 2)

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a test program that prompts the user to enter a two
Reference No:- TGS02906294

Expected delivery within 24 Hours