input: Write a function to translate the given JavaScript code into Python code. The function should receive a list of integers, iterate through each element, multiply it by 2, and print the result. If the input list is empty, the function should not print anything.
  def translate_javascript_to_python(arr):
      if arr:
          for item in arr:
              print(item * 2)
  
  assert translate_javascript_to_python([1, 2, 3, 4, 5]) == None
  assert translate_javascript_to_python([5, 6, 7, 8, 9]) == None
  assert translate_javascript_to_python([]) == None
output: def translate_javascript_to_python(arr):
      if arr:
          for item in arr:
              print(item * 2)