input: Write a script to determine if a word has consecutive repeating characters. Return True if the word has consecutive repeating characters, otherwise return False.
  
  assert has_consecutive_repeats("hello")==True
  assert has_consecutive_repeats("world")==False
  assert has_consecutive_repeats("aabbcc")==True
  assert has_consecutive_repeats("abcdefg")==False
  assert has_consecutive_repeats("")==False
output: def has_consecutive_repeats(word):
      for i in range(len(word) - 1):
          if word[i] == word[i + 1]:
              return True
      return False