input: Write a python function to reverse each string in an array and print them.
  assert reverse_and_print(["Hello", "World"]) == ["olleH", "dlroW"]
  assert reverse_and_print(["Python", "Programming"]) == ["nohtyP", "gnimmargorP"]
  assert reverse_and_print(["OpenAI", "ChatGPT"]) == ["InepO", "TPGtahC"]
output: def reverse_and_print(arr):
      return [s[::-1] for s in arr]