input: Write a function to create a dictionary of words and the number of times each word appears in a given text string. If the input string is empty return an empty dictionary.
  
  def words_count(text):
   words_dict = {}
   if text:
    for word in text.split(' '):
     if word in words_dict:
      words_dict[word] += 1
     else:
      words_dict[word] = 1
   return words_dict
  
  words_dict = words_count("A quick brown fox jumps over the lazy dog")
  print(words_dict)
  
  words_dict = words_count("")
  print(words_dict)
output: def words_count(text):
   words_dict = {}
   if text:
    for word in text.split(' '):
     if word in words_dict:
      words_dict[word] += 1
     else:
      words_dict[word] = 1
   return words_dict