Find the maximum value from a given list of numbers in Python.
[12, 34, 23, 45, 13, 65, 66]
def find_max(nums):
    max = nums[0]
    for num in nums[1:]:
        if num > max: 
            max = num
    return max

print(find_max([12, 34, 23, 45, 13, 65, 66]))