input: Write a function to translate the given JavaScript code into Python. The JavaScript code initializes an array with values [1, 2, 3, 4, 5] and then prints each value multiplied by 2. Ensure the Python code performs the same operation.
  # JavaScript code
  let arr = [1, 2, 3, 4, 5];
  
  arr.forEach(item => {
   console.log(item * 2);
  });
  
  # Python code
  arr = [1, 2, 3, 4, 5]
  
  for item in arr:
   print(item * 2)
output: def translate_js_to_python():
      arr = [1, 2, 3, 4, 5]
      for item in arr:
          print(item * 2)