Aug-09-2020, 08:17 AM
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
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