input: Write a python function to get the nth element from each sublist in a list of lists.
  assert get_nth_element([[1, 2, 3], [4, 5, 6], [7, 8, 9]], 1) == [2, 5, 8]
  assert get_nth_element([['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h', 'i']], 2) == ['c', 'f', 'i']
  assert get_nth_element([[10, 20, 30], [40, 50, 60], [70, 80, 90]], 0) == [10, 40, 70]
output: def get_nth_element(list_of_lists, n):
      return [sublist[n] for sublist in list_of_lists]