input: Write a python function to reverse every second word in a given sentence.
  assert reverseWords("This is a test") == "This si a tset"
  assert reverseWords("Hello world") == "Hello dlrow"
  assert reverseWords("Python programming is fun") == "Python gnimmargorp is nuf"
output: def reverseWords(sentence):
      words = sentence.split()
      for i in range(1, len(words), 2):
          words[i] = words[i][::-1]
      return ' '.join(words)