title: Adding a counter in python
body: <pre><code>counter=0
  
  import random
  
  myNum = random.choice(('j', 'Nk', 'p', 'qr', 'stu'))
  
  print(myNum)
  
  if myNum != 'j':
  
      counter+=1
  
  print(counter)
  </code></pre>
  
  <p>How do I make it so that the counter keeps counting the number of times that 'j' does not appear and doesn't reset after 'j' appears? </p>