Python Forum
Get the biggest number from a two dimensional list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get the biggest number from a two dimensional list
#7
You don't use the passed in attribute
You don't do anything with the max value
Why are you looping twice
You return m after one iteration of the second loop

Before the loop make an empty list
Loop over the passed in attribute
On each iteration append to the new empty list the max value
After the loop ends return the max of the new list
Reply


Messages In This Thread
RE: Get the biggest number from a two dimensional list - by Yoriz - Aug-09-2020, 08:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  list digit into number Voldyy 2 1,615 Jul-10-2022, 06:13 PM
Last Post: deanhystad
  Displaying list correspond to the column number danlopek14q 9 4,116 Aug-27-2021, 04:32 AM
Last Post: naughtyCat
  How to convert every even number in a list to odd? Bruizeh 4 3,876 Aug-27-2021, 03:04 AM
Last Post: naughtyCat
  How can I print the number of unique elements in a list? AnOddGirl 5 3,371 Mar-24-2020, 05:47 AM
Last Post: AnOddGirl
  Two Dimensional Arrays Coder34 1 1,957 Aug-19-2019, 10:48 AM
Last Post: buran
  Multiplying number in a list in an order pythoneer 12 6,774 Mar-23-2018, 08:21 PM
Last Post: buran
  Help with array smallest biggest number thanikos 4 3,421 Nov-30-2017, 01:06 PM
Last Post: thanikos
  adding a number to the list atux_null 4 3,988 Nov-06-2017, 07:01 PM
Last Post: gruntfutuk
  Take the biggest value from array dwiga 9 6,169 Jul-20-2017, 01:28 AM
Last Post: dwiga
  Python Exercise: Generate a two-dimensional array smbx33 4 11,024 Apr-22-2017, 11:51 PM
Last Post: smbx33

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020