input: Write a function to rewrite the given JavaScript code in Python. The function should iterate through the array and print each item multiplied by 2. The input is given as an array of numbers.
  assert translate_to_python([1, 2, 3, 4, 5])==None
  arr = [1, 2, 3, 4, 5]
  for item in arr:
    print(item * 2)
  assert translate_to_python([-1, -2, -3, -4, -5])==None
  arr = [-1, -2, -3, -4, -5]
  for item in arr:
    print(item * 2)
output: def translate_to_python(arr):
      for item in arr:
          print(item * 2)