input: Write a python function to print a right-angle triangle pattern using asterisks.
  assert print_triangle(5) == None
  assert print_triangle(3) == None
  assert print_triangle(1) == None
output: def print_triangle(n):
      for i in range(1, n + 1):
          print('*' * i)