title: Program that checks for capitalisation and full stop
body: <p>I am a beginner programmer. I am trying to write a program that will ask for a sentence, then check for 2 things. 1) A capital letter at the start of the sentence and 2) a full stop at its end. I also want it to print out a sentence that'll tell the user whether or not their sentence is correct.
  For example:</p>
  
  <p><strong>Enter a sentence:</strong> python is hard.</p>
  
  <p>Your sentence doesn't begin with a capital letter.</p>
  
  <p>and</p>
  
  <p><strong>Enter a sentence:</strong> Python is hard</p>
  
  <p>Your sentence has no full stop at the end.</p>
  
  <p>and</p>
  
  <p><strong>Enter a sentence:</strong> python is hard</p>
  
  <p>Your sentence doesn't start with a capital letter and has no full stop at the end.</p>
  
  <p>and lastly;</p>
  
  <p><strong>Enter a sentence:</strong> Python is hard.</p>
  
  <p>Your sentence is perfect.</p>
  
  <p>However, i am stuck and all i have is this mess:</p>
  
  <pre><code>sentence = input("Sentence: ")
  if sentence[0].isupper():
    print("")
  if (sentence[0].isupper()) != sentence:
    print("Your sentence does not start with a capital letter.")
  elif "." not in sentence:
    print("Your sentence does not end with a full stop.")
  else:
    print("Your sentence is correctly formatted.")
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>