Finding the Maximum Element in a List

  • Share this:

Code introduction


Retrieve the maximum element from a list


Technology Stack : Built-in function

Code Type : Function

Code Difficulty :


                
                    
def get_max_element(lst):
    return max(lst)