Edit a Python program to output the maximum value
def find_max(lst):
    max = lst[0]
    for i in lst:
        if i > max:
            max = i
def find_max(lst):
    max = lst[0]
    for i in lst:
        if i > max:
            max = i
    return max