Write a Python program to remove all duplicate items from a list.
[1, 2, 2, 4, 5]
def remove_duplicates(lst): 
	return list(dict.fromkeys(lst)) 

result = remove_duplicates([1, 2, 2, 4, 5]) 
print(result)