input: Write a function to determine the amount of 'boredoms' within a string of sentences, where a boredom is defined as a sentence that begins with the word 'I'. Sentences within the string are delimited by '.', '?' or '!'.
  assert count_boredoms("Hello world") == 0
  assert count_boredoms("Is the sky blue?") == 0
  assert count_boredoms("I love It !") == 1
  assert count_boredoms("bIt") == 0
  assert count_boredoms("I feel good today. I will be productive. will kill It") == 2
  assert count_boredoms("You and I are going for a walk") == 0
output: def count_boredoms(sentence):
      count = 0
      for s in sentence.split('.'):
          if s.strip().startswith('I '):
              count += 1
      for s in sentence.split('?'):
          if s.strip().startswith('I '):
              count += 1
      for s in sentence.split('!'):
          if s.strip().startswith('I '):
              count += 1
      return count