title: How can I add an integer to an existing integer in a list?
body: <p>This is what I have so far, it's very incomplete:</p>
  
  <pre><code>list1=[0,0,0,0,0]
  check=True
  while check:
  
      num=int(input("Which candidate are you voting for?: "))
  
      if num==1:
  
      elif num==2:
  
      elif num==3:
  
      elif num==4:
  
      elif num==5:
  
      elif num==-1:
          check=False
          for i in range(5):
              print(i+1)
      else:
          print("out of bounds")
  </code></pre>
  
  <p>I want to make it so you can vote for a candidate ranging from <code>1-5</code> until you decide to stop, and at the end, it will show the results of the vote. To do this I want to add 1 to the existing number of the list, for example if you input "2" then the list becomes <code>0,1,0,0,0</code> and then if you input "2" again it becomes <code>0,2,0,0,0</code>.</p>
  
  <p>I also want the program to say the greatest number of the list so it tells you the winning candidate.</p>
  
  <p>How can I add to an existing number in a list?</p>