input: 
  def add_positive_feedback_loop(text: str) -> str:
      """ Takes a Python program as a string and adds a positive feedback loop.
      The loop counts the iterations and prints a congratulatory message after the last iteration.
      >>> add_positive_feedback_loop('for i in range(10):\\n    print("hello")')
      'for i in range(10):\\n    print("hello")\\n    i += 1\\n    if i == 10:\\n        print("You\\'ve got it!")'
      """
  
output:     lines = text.split('\n')
      loop_line = lines[0]
      loop_variable = loop_line.split()[1].split(' ')[0]
      loop_end = int(loop_line.split('(')[1].split(')')[0].split(',')[1])
      lines.insert(1, f"    {loop_variable} += 1")
      lines.insert(2, f"    if {loop_variable} == {loop_end}:")
      lines.insert(3, '        print("You\'ve got it!")')
      return '\n'.join(lines)