input: 
  def rewrite_code_instruction(code: str) -> str:
      """ Rewrite the given JavaScript code in Python.
      >>> rewrite_code_instruction("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)"
      """
  
output:     arr = code.split(';')[0].replace('let ', '').strip()
      loop_body = code.split(';')[1].strip().replace('console.log', 'print').replace('item => {', '').replace('});', '').strip()
      return f"{arr}\n\nfor item in {arr.split('=')[0].strip()}:\n {loop_body}"