title: python make sure that word is capitalized
body: <p>I'm trying to make sure that every word that is typed <strong>is</strong> uppercased as in ABC. The code I'm working with is this</p>
  
  <pre><code>abbreviate=input("Abbreviation: ")
  words=abbreviate[0:6]
  numbers = abbreviate[6:8]
  if len(abbreviate)==9:
      if words.isalpha: #I think it's also possible to use.if str(words)?
          if words.isupper: #(i did upper first, what is the difference?)
              if int(numbers):
                  print("correct")
              else:
                   print("wrong, you need numbers")
          else:
               print("wrong, all words are supposed to be uppercase")
      else:
           print("wrong, it needs to be words(alphabet)") 
  else:
       print("wrong, the length needs to be 8")    
  </code></pre>
  
  <p>QWERTY567 should be correct.
  qwerty567 should be incorrect.
  How do I go on doing this? </p>
  
  <p>qwerty333
  012345678</p>