Write a function in Python to convert following input into a dictionary
[("a", 1), ("b", 2), ("c", 3)]
def list_to_dict(input_list):
  output_dict = {}
  for key, value in input_list:
    output_dict[key] = value 
  return output_dict