input: def rewrite_code(arr: List[int]) -> str:
      """Rewrites the given JavaScript code into an equivalent Python code.
      
      >>> rewrite_code([1, 2, 3, 4, 5])
      "arr = [1, 2, 3, 4, 5]\\n\\nfor item in arr:\\n print(item * 2)"
      """
output:     arr_str = ', '.join(map(str, arr))
      result = f'arr = [{arr_str}]\n\nfor item in arr:\n    print(item * 2)'
      return result