input: 
  def translate_to_python(arr: List[int]) -> List[int]:
      """
      Convert the given JavaScript array manipulation code to Python.
      The JavaScript code multiplies each item in the array by 2 and prints the result.
      This function should do the same in Python.
      >>> translate_to_python([1, 2, 3, 4, 5])
      [2, 4, 6, 8, 10]
      """
  
output:     return [x * 2 for x in arr]