Create a Python program to determine the missing elements from a given list.
[2, 4, 6, 8, 10]
def find_missing_elements(list):
    missing_elements = []
    for i in range(min(list), max(list)):
        if i not in list:
            missing_elements.append(i)
    return missing_elements