title: How to capitalize the first letter of every sentence?
body: <p>I'm trying to write a program that capitalizes the first letter of each sentence. This is what I have so far, but I cannot figure out how to add back the period in between sentences. For example, if I input:</p>
  <blockquote>
  <p>hello. goodbye</p>
  </blockquote>
  <p>the output is</p>
  <blockquote>
  <p>Hello Goodbye</p>
  </blockquote>
  <p>and the period has disappeared.</p>
  <pre><code>string=input('Enter a sentence/sentences please:')
  sentence=string.split('.')
  for i in sentence:
      print(i.capitalize(),end='')
  </code></pre>