input: Write a python function to find duplicate words in a text.
  assert findDuplicates('Hello my name is John I live in Virginia') == ['my', 'is', 'in']
  assert findDuplicates('This is a test This is only a test') == ['This', 'is', 'a', 'test']
  assert findDuplicates('No duplicates here') == []
output: def findDuplicates(text):
      words = text.split()
      word_count = {}
      for word in words:
          word_count[word] = word_count.get(word, 0) + 1
      return [word for word, count in word_count.items() if count > 1]