input: from typing import List
  
  def translate_to_python(javascript_code: str) -> str:
      """Translate the given JavaScript code into an equivalent Python code.
      The input JavaScript code iterates over an array and prints each element
      multiplied by 2. The output should be the Python equivalent of the JavaScript code.
      >>> translate_to_python("let arr = [1, 2, 3, 4, 5];\\narr.forEach(item => { console.log(item * 2); });")
      "# Python code\\narr = [1, 2, 3, 4, 5]\\n\\nfor item in arr:\\n print(item * 2)"
      """
output:     arr = javascript_code.split(';')[0].split('=')[1].strip()
      arr = eval(arr)
      result = "# Python code\n"
      result += f"arr = {arr}\n\n"
      result += "for item in arr:\n print(item * 2)"
      return result