title: Count-voting program
body: <p>I'm trying to build this in Python. My idea is: </p>
  
  <ul>
  <li>program starts </li>
  <li>asks how many the candidates are and their names</li>
  <li>continually asks "to who you want to assign your vote?"</li>
  <li>when you're done with voting, simply write "done" and the program print results</li>
  </ul>
  
  <h1>Problem:</h1>
  
  <ul>
  <li><p>I thought of a list. When the program asks you the number of candidates a list should be created with this number. ex: 5 candidates, create <code>list [0,1,2,3,4]</code>, so you can assign Candidate1 to 0, Candidate2 to 1, Candidate3 to 2. But I cannot know how many the candidates will be so I'm trying to figure out how to automate this process in a sort of loops which asks you:</p>
  
  <ul>
  <li>how many the candidates are? 5? Perfect, created a <code>list[0,1,2,3,4]</code></li>
  <li>Insert candidates names:</li>
  <li>Candidate1: Albert [0]</li>
  <li>Candidate2: Jonah [1]</li>
  <li>Candidate3: Misty [2]</li>
  <li>Candidate4: Donald [3]</li>
  <li>Candidate5: Mary [4]</li>
  </ul></li>
  </ul>
  
  <p>Then asks you to assign votes and when you write "done" the program does the maths and gives you result.</p>
  
  <p>Any thoughts? Hope I made my point. Thanks. And sorry for bad english.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Ok I guess I wasn't clear.</p>
  
  <pre><code>candidates = input("How many candidates do we have?\n")
  candidates = int(candidates)
  print("OK! So we have " + str(candidates) + " votable candidates.")
  print("Specify their names!\n")
  
  
  for candidates_number in range(candidates): 
      print(int(candidates_number)) '''to help me visualize what i'm doing'''
  
  
  overall = candidates
  print(list(range(overall)))
  complete_list = range(overall)
  print(complete_list) '''to help me visualize what i'm doing'''
  
  for candidate_name in range(complete_list):
      print("Write candidates names.\n")
  </code></pre>
  
  <p>Here I'm stuck because I do not know how to automatize the process of asking the candidate name and connect it to the corresponding number of the list.</p>