input: Write a function to design a positive feedback loop for the given Python program. The function should modify the input program to add feedback messages that encourage positive reinforcement when the loop completes successfully.
  assert 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!')"
  assert positive_feedback_loop("for i in range(5):\n    print('hi')")=="for i in range(5):\n    print('hi')\n    i += 1\n    if i == 5:\n        print('You've got it!')"
  assert positive_feedback_loop("")=="You've got it!"
  assert positive_feedback_loop("for i in range(3):\n    print('hey')")=="for i in range(3):\n    print('hey')\n    i += 1\n    if i == 3:\n        print('You've got it!')"
  assert positive_feedback_loop("for i in range(1):\n    print('greetings')")=="for i in range(1):\n    print('greetings')\n    i += 1\n    if i == 1:\n        print('You've got it!')"
output: def positive_feedback_loop(program):
      if "for i in range" in program:
          return program.replace("for i in range", "for i in range\n    i += 1\n    if i == ") + ":\n        print('You\\'ve got it!')"
      else:
          return "You've got it!"