title: I cant get this code to work in python
body: <pre><code>keepgoing = True
  num1 = int(input("Enter a Number"))
  num2 = int(input("Enter a Number"))
  bignums = 0
  smallnums = 0
  counter = 0
  
  while keepgoing:
  
      if num1 &gt; num2:
          bignums = bignums + num1
          smallnums = smallnums + num2
      else:
          bignums = bignums + num2
          smallnums = smallnums + num1
  
      counter + 1
  
      if num1 == 0:
          keepgoing = False
  
  
  print (bignums / counter)
  print (smallnums / counter)
  </code></pre>
  
  <p>The program i am writing:
  Write a program that enters pairs of numbers until the first number in the pair is 0. The program will add the smallest number to a total for smaller numbers, the largest number to a total for the largest numbers. After exit from the loop, it will print the average of the smaller numbers, the average of the higher numbers, and the highest and lowest numbers entered.</p>
  
  <p>I think i did everything right, but it wont end/exit the loop when you type "0". Also i don't know how to make it show the highest and lowest number. Can anyone help me please?</p>