input: Write a function to convert the given JavaScript code to equivalent Python code. Return the Python code as a string. If the input code is empty, return "No code provided".
  assert convert_to_python('let arr = [1, 2, 3, 4, 5];\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_to_python('') == "No code provided"
  assert convert_to_python('let arr = [10, 20, 30];\narr.forEach(item => {\n console.log(item * 3);\n});') == "arr = [10, 20, 30]\n\nfor item in arr:\n print(item * 3)"
output: def convert_to_python(js_code):
      if not js_code:
          return "No code provided"
      
      lines = js_code.split('\n')
      arr_line = lines[0]
      arr_line = arr_line.replace('let ', '').replace(';', '')
      arr_name = arr_line.split('=')[0].strip()
      arr_value = arr_line.split('=')[1].strip()
      
      loop_line = lines[2]
      item_name = loop_line.split('=>')[0].strip().replace('(', '').replace(')', '')
      operation = lines[3].strip().replace('console.log', 'print').replace(';', '')
      
      python_code = f"{arr_name} = {arr_value}\n\nfor {item_name} in {arr_name}:\n {operation}"
      return python_code