user
Write a function that will return the maximum of the following numbers.
1, 5, 23, 9


assistant
def find_max(nums):
    biggest = nums[0]
    for num in nums:
        if num > biggest:
            biggest = num
    return biggest

print(find_max([1, 5, 23, 9]))

Output: 23