title: python programs to count letters in each word of a sentence
body: <p>I'm pretty new to python and I need a program that not only counts the words from an input sentence but also counts the number of letters in each word. This is what I have so far. Any help would be very much appreciated!</p>
  
  <pre><code>def main():
      s = input("Please enter your sentence: ")
      words = s.split()
      wordCount = len(words)
      print ("Your word and letter counts are:", wordCount)
  main()
  </code></pre>