input: Write a python function to find the factors of a number and return them in a list.
  assert find_factors(28) == [1, 2, 4, 7, 14, 28]
  assert find_factors(12) == [1, 2, 3, 4, 6, 12]
  assert find_factors(7) == [1, 7]
output: def find_factors(n):
      factors = []
      for i in range(1, n + 1):
          if n % i == 0:
              factors.append(i)
      return factors