Write a Python program to remove all duplicates from a given list.
[2, 3, 4, 5, 2, 3, 6]
def remove_duplicates(lst):
    seen = set()
    result = []
    for item in lst:
        if item not in seen:
            seen.add(item)
            result.append(item)
    return result