input: Write a function to convert the given JavaScript code into Python code. The JavaScript code takes an array of integers, iterates through each element, and prints the element multiplied by 2. The function should return the equivalent Python code as a string.
  assert convert_js_to_python("let arr = [1, 2, 3, 4, 5];\n\narr.forEach(item => {\n console.log(item * 2);\n});") == "arr = [1, 2, 3, 4, 5]\n\nfor item in arr:\n print(item * 2)"
  assert convert_js_to_python("let arr = [2, 4, 6, 8, 10];\n\narr.forEach(item => {\n console.log(item * 3);\n});") == "arr = [2, 4, 6, 8, 10]\n\nfor item in arr:\n print(item * 3)"
  assert convert_js_to_python("let arr = [5, 10, 15, 20, 25];\n\narr.forEach(item => {\n console.log(item / 5);\n});") == "arr = [5, 10, 15, 20, 25]\n\nfor item in arr:\n print(item / 5)"
  assert convert_js_to_python("") == ""
  assert convert_js_to_python("let arr = [];\n\narr.forEach(item => {\n console.log(item);\n});") == "arr = []\n\nfor item in arr:\n print(item)"
output: def convert_js_to_python(js_code):
      if not js_code:
          return ""
      lines = js_code.split("\n")
      arr_line = lines[0].replace("let ", "").replace(";", "")
      operation_line = lines[3].split("(")[1].split(")")[0]
      return f"{arr_line}\n\nfor item in {arr_line.split('=')[0].strip()}:\n print({operation_line})"