title: Python Removing Letters From a String
body: <p>This is a homework assignment. I just need a nudge.</p>
  
  <p>I'm trying to create a loop in which the letters of a string will be removed when it is beyond a certain number.</p>
  
  <p>Example:</p>
  
  <pre><code>Enter Your String: David
  Enter Your Amount: 4
  Returns: Davi
  </code></pre>
  
  <p>What I've made so far:</p>
  
  <pre><code>word = raw_input("Enter your string:")
  amount = raw_input("Enter your amount:")
  word_length = len(word)
  
  if word_length &gt; amount:
    for i in range(word_length):
      if s[i] &gt; amount:
  </code></pre>
  
  <p>And that's just about as far as I've gotten. I'm not very sure as to which syntax I use to delete the letters that are in positions greater than <code>word_length</code>.</p>