Generate a python program that takes in a list and an integer and prints the element at index in the list
list = ["a", "b", "c", "d"] and integer = 2
def print_element(lst, index):
    print(lst[index])