title: Placing odd numbers in consecutive elements of list: Python 3.2
body: <p>I'm in an introductory Python course.  I'm taking a practice final and I don't know exactly what to do for a question.  It asks:</p>
  
  <p>Complete the following method that places odd numbers found in the string s in consecutive elements of the list x.</p>
  
  <pre><code>def assign(s):
      length = _____
      x = _____*[0]
      index = 0
      for j in range(_____):
          digit = int(s[j])  #convert to int digit
          if _____: #test for odd number
              x[_____] = digit
              __________
      print("The odd numbers are")
      for j in range(index):
          print(x[j])
  </code></pre>
  
  <p>I don't know if it's the way it's worded but I have no clue how to go about answering this.  My best guess would be:</p>
  
  <pre><code>def assign(s):
      length = len(s)
      x = length*[0]
      index = 0
      for j in range(s):
          digit = int(s[j])  #convert to int digit
          if _____: #test for odd number
              x[_____] = digit
              __________
      print("The odd numbers are")
      for j in range(index):
          print(x[j])
  </code></pre>
  
  <p>I have no clue how to continue, or if I'm even starting it off right.  I can't change anything that's already there, I can only fill in the blanks, and they all have to be filled in.  Anyone know how to do this?</p>