input: from typing import List
  
  
  def add_positive_feedback_loop(input_code: str) -> str:
      """ Adds a positive feedback loop to the given input code. The loop will print
      a congratulatory message when the loop completes.
      >>> 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 = input_code.split('\n')
      loop_line = lines[-1]
      if 'for' in loop_line:
          lines.append('    i += 1')
          lines.append('    if i == 10:')
          lines.append('        print("You\'ve got it!")')
      return '\n'.join(lines)