title: How to call all list items in a list based on item count
body: <p>I'm trying to code a simple bruteforcer in Python, mainly to put my Python knowledge to the test. I have the number of items in a list, but I want to make "brutedata" have that same number of items. Here's a snippet of my code:</p>
  
  <pre><code>while count &lt; contentscount - 1:
      count = count + 1
      brutedata = { postdata[0] : "admin", postdata[1] : contents[count] }
      brute = requests.post(target, data=brutedata)
      bruteresponse = brute.text
  </code></pre>
  
  <p>For example, if there are 3 POST parameters specified, brutedata will be:</p>
  
  <pre><code>brutedata = { postdata[0] : "value", postdata[1] : "value", postdata[2] : "value" }
  </code></pre>