(Solved):How do you write a function in python that gives you the coordinates of max of a nested list? View Answer…

 

Question

How do you write a function in python that gives you the coordinates of max of a nested list?

 

EXPERT ANSWER

  1. # Python program to Find maximum
  2. # values in a nested list
  3.   
  4. def FindMaxVal(coordinates):
  5.     # find max in list
  6.     maxCord = [max(val)
Scroll to top