Sobes.tech
Junior — Senior

Function to find the largest element in a list

livecode

Task condition

Implement the function find_maximum, which returns the maximum value from the given list of numbers.

def find_maximum(nums):
    # TODO: Implement the function
    pass

# Test the function
numbers = [5, 12, 8, 3, 9, 6]
maximum = find_maximum(numbers)
print("Maximum number:", maximum)