input: Write a function to design a positive feedback loop for the given python program that prints "hello" 10 times. The loop should print "You've got it!" after the 10th "hello" is printed. If the loop is correctly designed, return True, otherwise return False.
  assert feedback_loop('''for i in range(10):\n    print("hello")\n''')==True
  assert feedback_loop('''for i in range(10):\n    print("hello")\n    i += 1\n    if i == 10:\n        print("You've got it!")\n''')==True
  assert feedback_loop('''for i in range(10):\n    print("hello")\nprint("You've got it!")\n''')==False
  assert feedback_loop('''for i in range(10):\n    print("hello")\n    i += 1\n    if i == 9:\n        print("You've got it!")\n''')==False
  assert feedback_loop('')==False
output: def feedback_loop(code):
      try:
          exec(code)
          return True
      except:
          return False